AnimatorTransition
此内容尚不支持你的语言。
Defined in: animation/Animator.ts:48
Properties
Section titled “Properties”conditions
Section titled “conditions”conditions:
AnimatorCondition[]
Defined in: animation/Animator.ts:52
All conditions must hold (AND). Empty = unconditional.
hasExitTime?
Section titled “hasExitTime?”
optionalhasExitTime?:boolean
Defined in: animation/Animator.ts:58
Only fire once the current state’s clip has finished (a non-looping sprite
clip reached its end). Combined with conditions, both must hold. With no
conditions, this is “auto-advance when the clip ends” (e.g. attack→idle).
to:
string
Defined in: animation/Animator.ts:50
Target state name.