Skip to content

AnimatorTransition

Defined in: animation/Animator.ts:48

conditions: AnimatorCondition[]

Defined in: animation/Animator.ts:52

All conditions must hold (AND). Empty = unconditional.


optional hasExitTime?: 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.