Method WaitForAnimationEvent
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
WaitForAnimationEvent(ClipTransition, string)
public IEnumerator WaitForAnimationEvent(ClipTransition animation, string eventName)
Parameters
animationClipTransitioneventNamestring
Returns
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)