unity-menustack
0.1.0
A way to track unity menu navigation that doesn't suck too much
|
Waits for a specific animation state to be transitioned to, and for it's motion to complete More...
Public Member Functions | |
WaitForAnimationState (Animator animator, string state, int layer=0) | |
Default ctor More... | |
Properties | |
override bool | keepWaiting [get] |
CustomYieldInstruction https://docs.unity3d.com/ScriptReference/CustomYieldInstruction.html More... | |
Waits for a specific animation state to be transitioned to, and for it's motion to complete
MenuStack.Animation.WaitForAnimationState.WaitForAnimationState | ( | Animator | animator, |
string | state, | ||
int | layer = 0 |
||
) |
Default ctor
animator | the animator to check against |
state | the state to wait for |
layer | the layer to check against |
|
get |
CustomYieldInstruction https://docs.unity3d.com/ScriptReference/CustomYieldInstruction.html
This will be queried between Update() and LateUpdate()