| TriggerWaitRoutine Method |
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.
Namespace:
DustProductions.TriggerMeTimbers
Assembly:
DustProductions.TriggerMeTimbers (in DustProductions.TriggerMeTimbers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax protected virtual IEnumerator WaitRoutine(
float desiredWaitTime,
bool triggerValue
)
Parameters
- desiredWaitTime
- Type: SystemSingle
The amount of time to wait until notifying Triggerables (in seconds) - triggerValue
- Type: SystemBoolean
If TrueTrigger has been hit, this should be true. If FalseTrigger has been hit, this should be false.
Return Value
Type:
IEnumeratorA new WaitForSeconds IEnumerable with the desired wait time
See Also