unity-menustack  0.1.0
A way to track unity menu navigation that doesn't suck too much
Public Member Functions | Properties | List of all members
MenuStack.Animation.WaitForAnimationState Class Reference

Waits for a specific animation state to be transitioned to, and for it's motion to complete More...

Inheritance diagram for MenuStack.Animation.WaitForAnimationState:

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...
 

Detailed Description

Waits for a specific animation state to be transitioned to, and for it's motion to complete

Constructor & Destructor Documentation

◆ WaitForAnimationState()

MenuStack.Animation.WaitForAnimationState.WaitForAnimationState ( Animator  animator,
string  state,
int  layer = 0 
)

Default ctor

Parameters
animatorthe animator to check against
statethe state to wait for
layerthe layer to check against

Property Documentation

◆ keepWaiting

override bool MenuStack.Animation.WaitForAnimationState.keepWaiting
get

CustomYieldInstruction https://docs.unity3d.com/ScriptReference/CustomYieldInstruction.html

This will be queried between Update() and LateUpdate()


The documentation for this class was generated from the following file: