PowerQuest
IRegion Interface Reference

Detailed Description

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

Properties

string ScriptName [get]
 The name used in scripts. More...
 
MonoBehaviour Instance [get]
 Access to the actual game object component in the scene. More...
 
bool Enabled [get, set]
 Gets or Sets whether walking on to the region triggers OnEnterRegion and OnExitRegion events, or tints things. More...
 
bool Walkable [get, set]
 Gets or sets whether the player can walk on this hotspot. Use to create obstructions. More...
 
Color Tint [get, set]
 
Region Data [get]
 Access to the base class with extra functionality used by the PowerQuest. More...
 

Public Member Functions

bool GetCharacterOnRegion (ICharacter character)
 Returns true if the specified character is standing inside the region. More...
 

Property Documentation

◆ ScriptName

string ScriptName
get

The name used in scripts.

◆ Instance

MonoBehaviour Instance
get

Access to the actual game object component in the scene.

◆ Enabled

bool Enabled
getset

Gets or Sets whether walking on to the region triggers OnEnterRegion and OnExitRegion events, or tints things.

◆ Walkable

bool Walkable
getset

Gets or sets whether the player can walk on this hotspot. Use to create obstructions.

◆ Data

Region Data
get

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

Member Function Documentation

◆ GetCharacterOnRegion()

bool GetCharacterOnRegion ( ICharacter  character)

Returns true if the specified character is standing inside the region.