|
Adventure Creator 1.85.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2025
|
Public Attributes | |
| TriggerDetectionMethod | detectionMethod = TriggerDetectionMethod.RigidbodyCollision |
Protected Member Functions | |
| void | Update () |
| 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.
| TriggerDetectionMethod AC.InteractiveBoundary.detectionMethod = TriggerDetectionMethod.RigidbodyCollision |
The way in which objects are detected (RigidbodyCollision, TransformPosition)
|
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