Register a transition between two states
Optionalconfig: AnimTransitionConfigCheck if the current state can be cancelled right now
Check if a transition from current state to target is allowed
Clean up listeners
Force a state change, ignoring priority and cancel windows
Get the current state name
Get the current animation frame index
Request a state change. Respects priority levels and cancel windows. Returns true if the transition was accepted.
Start the state machine in a given state
Animation-specific state machine with cancel windows, priority levels, and per-edge transition types.
Usage: