Table of Contents

Method WaitForAnimationEvent

Namespace
GrindFest
Assembly
GrindFest.dll

WaitForAnimationEvent(ClipTransition, string)

public IEnumerator WaitForAnimationEvent(ClipTransition animation, string eventName)

Parameters

animation ClipTransition
eventName string

Returns

IEnumerator

WaitForAnimationEvent(ITransition, string, float)

Waits for a named event; falls back to fallbackTime when the animation is not a plain clip transition.

public IEnumerator WaitForAnimationEvent(ITransition animation, string eventName, float fallbackTime = 0)

Parameters

animation ITransition
eventName string
fallbackTime float

Returns

IEnumerator