evaluateAnimatorTransitions
此内容尚不支持你的语言。
evaluateAnimatorTransitions(
def,currentState,params,triggers,clipFinished?):AnimatorEvalResult
Defined in: animation/Animator.ts:197
Evaluate one step of the state machine. Any-state transitions are checked
before the current state’s. clipFinished gates hasExitTime transitions
(true = the current clip has ended); it defaults true so transitions without
exit time are unaffected. Returns the next state (or null to stay) and the
triggers a fired transition consumed. Pure.
Parameters
Section titled “Parameters”currentState
Section titled “currentState”string
params
Section titled “params”triggers
Section titled “triggers”ReadonlySet<string>
clipFinished?
Section titled “clipFinished?”boolean = true