Public Member Functions |
void | Update () |
void | OnTriggerEnter (Collider sensedObject) |
| OnTriggerEnter event handler when the collider detects a trigger collision.
|
void | OnTriggerStay (Collider sensedObject) |
| OnTriggerStay event handler when a trigger remains colliding within the sensor.
|
void | OnTriggerExit (Collider sensedObject) |
| OnTriggerExit event handler when a trigger stops colliding.
|
Protected Member Functions |
abstract void | Enter (GameObject sensed) |
abstract void | Stay (GameObject sensed) |
abstract void | Exit (GameObject sensed) |
Protected Attributes |
bool | allowConstantUpdates = false |
float | _stayDelayMinimumLapse = 0.20f |
float | _stayDelayTimer = -1.0f |