![]() |
PowerQuest 0.19.4
|
Hotspot: Contains functions and data for manipluating Hotspots in rooms - Eg:
H.BlueCup.Cursor = "Drink";
if ( H.Tree.UseCount > 0 )
H.Tree.Description = "Someone's cut it down";
Inherits IQuestClickableInterface.
Properties | |
| string | Description [get, set] |
| Gets/Sets the name shown to players. | |
| string | ScriptName [get] |
| The name used in scripts. | |
| MonoBehaviour | Instance [get] |
| Access to the actual game object component in the scene. | |
| bool | Clickable [get, set] |
| Gets or Sets whether clicking on the object triggers an event. | |
| float | Baseline [get, set] |
| Gets or sets the baseline used for sorting. | |
| Vector2 | WalkToPoint [get, set] |
| Gets or sets the walk to point. | |
| Vector2 | LookAtPoint [get, set] |
| Gets or sets the look at point. | |
| string | Cursor [get, set] |
| bool | FirstUse [get] |
| Returns true the first time the player "uses" the object. | |
| bool | FirstLook [get] |
| Returns true the first time the player "looked" at the object. | |
| int | UseCount [get] |
| Returns the number of times player has "used" at the object. 0 when it's the first click on the object. | |
| int | LookCount [get] |
| Returns the number of times player has "looked" at the object. 0 when it's the first click on the object. | |
| Hotspot | Data [get] |
| Access to the base class with extra functionality used by the PowerQuest. | |
Public Member Functions | |
| void | Show () |
Set's visible & clickable (Same as Enable()) | |
| void | Hide () |
Set's invisible & non-clickable (Same as Disable()) | |
| void | Enable () |
| Set's visible & clickable. | |
| void | Disable () |
| Set's invisible & non-clickable. | |
|
getset |
Gets/Sets the name shown to players.
|
get |
The name used in scripts.
|
get |
Access to the actual game object component in the scene.
|
getset |
Gets or Sets whether clicking on the object triggers an event.
|
getset |
Gets or sets the baseline used for sorting.
|
getset |
Gets or sets the walk to point.
|
getset |
Gets or sets the look at point.
|
get |
Returns true the first time the player "uses" the object.
|
get |
Returns true the first time the player "looked" at the object.
|
get |
Returns the number of times player has "used" at the object. 0 when it's the first click on the object.
|
get |
Returns the number of times player has "looked" at the object. 0 when it's the first click on the object.
|
get |
Access to the base class with extra functionality used by the PowerQuest.
| void Show | ( | ) |
Set's visible & clickable (Same as Enable())
| void Hide | ( | ) |
Set's invisible & non-clickable (Same as Disable())
| void Enable | ( | ) |
Set's visible & clickable.
| void Disable | ( | ) |
Set's invisible & non-clickable.