Trigger Methods |
The Trigger type exposes the following members.
Name | Description | |
---|---|---|
CheckTriggerString |
A convenience method that can be used to determine if either TrueTrigger or FalseTrigger have certain values. This will also automatically call HitTrigger for you if it finds a match.
| |
GetTriggerDropdownOptions |
Triggers are responsible for defining what their triggers actually are. This method is used to fetch the strings to display in the editor dropdowns for TrueTrigger and FalseTrigger.
| |
HandleComponentAdded |
Can be called by ITriggerables to add to the Triggerables array. If a ITriggerable is added to this component, it will be added to the array.
| |
HitTrigger |
Called when something the Trigger cares about has happened. You can call this directly, or indirectly using CheckTriggerString().
| |
OnValidate |
The OnValidate method called by Unity.
| |
Reset |
The Reset method called by Unity.
| |
WaitRoutine |
This will be called if there is a delay between when the a trigger is hit, and when we want to notify the Triggerables about the hit.
|