Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Protected Member Functions | |
void | OnTriggerEnter (Collider other) |
void | OnTriggerExit (Collider other) |
void | OnTriggerEnter2D (Collider2D other) |
void | OnTriggerExit2D (Collider2D other) |
Protected Attributes | |
bool | forcePresence |
List< GameObject > | playersPresent = new List<GameObject>() |
Properties | |
bool | PlayerIsPresent [get] |
bool | ForcePresence [set] |
Used to limit a Hotspot's interactivity to Players that are within a given volume. Attach this to a Trigger collider, and assign in a Hotspot's Inspector. When assigned, the Hotspot will only be interactable when the Player is within the collider's boundary.
|
set |
If True, the Player will always be considered as present within the Collider boundary, even when not physically so
|
get |
True if the active Player is within the Collider boundary