PowerQuest
IHotspot Interface Reference

Detailed Description

Hotspot: Contains functions and data for manipluating Hotspots in rooms.

Inherits IQuestClickableInterface.

Properties

string Description [get, set]
 Gets/Sets the name shown to players. More...
 
string ScriptName [get]
 The name used in scripts. More...
 
MonoBehaviour Instance [get]
 Access to the actual game object component in the scene. More...
 
bool Clickable [get, set]
 Gets or Sets whether clicking on the object triggers an event. More...
 
float Baseline [get, set]
 Gets or sets the baseline used for sorting. More...
 
Vector2 WalkToPoint [get, set]
 Gets or sets the walk to point. More...
 
Vector2 LookAtPoint [get, set]
 Gets or sets the look at point. More...
 
string Cursor [get, set]
 
bool FirstUse [get]
 Returns true the first time the player "uses" the object. More...
 
bool FirstLook [get]
 Returns true the first time the player "looked" at the object. More...
 
int UseCount [get]
 Returns the number of times player has "used" at the object. 0 when it's the first click on the object. More...
 
int LookCount [get]
 Returns the number of times player has "looked" at the object. 0 when it's the first click on the object. More...
 
Hotspot Data [get]
 Access to the base class with extra functionality used by the PowerQuest. More...
 

Property Documentation

◆ Description

string Description
getset

Gets/Sets the name shown to players.

◆ ScriptName

string ScriptName
get

The name used in scripts.

◆ Instance

MonoBehaviour Instance
get

Access to the actual game object component in the scene.

◆ Clickable

bool Clickable
getset

Gets or Sets whether clicking on the object triggers an event.

◆ Baseline

float Baseline
getset

Gets or sets the baseline used for sorting.

◆ WalkToPoint

Vector2 WalkToPoint
getset

Gets or sets the walk to point.

◆ LookAtPoint

Vector2 LookAtPoint
getset

Gets or sets the look at point.

◆ FirstUse

bool FirstUse
get

Returns true the first time the player "uses" the object.

◆ FirstLook

bool FirstLook
get

Returns true the first time the player "looked" at the object.

◆ UseCount

int UseCount
get

Returns the number of times player has "used" at the object. 0 when it's the first click on the object.

◆ LookCount

int LookCount
get

Returns the number of times player has "looked" at the object. 0 when it's the first click on the object.

◆ Data

Hotspot Data
get

Access to the base class with extra functionality used by the PowerQuest.