Version: 5.6

AnimatorTransition

class in UnityEditor.Animations

/

Inherits from:Animations.AnimatorTransitionBase

Switch to Manual

Description

Transitions define when and how the state machine switch from on state to another. AnimatorTransition always originate from a StateMachine or a StateMachine entry. They do not define timing parameters.

A transition happens when all its conditions are met.

Constructors

AnimatorTransitionCreates a new animator transition.

Inherited members

Variables

conditions AnimatorCondition conditions that need to be met for a transition to happen.
destinationStateThe destination state of the transition.
destinationStateMachineThe destination state machine of the transition.
isExitIs the transition destination the exit of the current state machine.
muteMutes the transition. The transition will never occur.
soloMutes all other transitions in the source state.

Public Functions

AddConditionUtility function to add a condition to a transition.
RemoveConditionUtility function to remove a condition from the transition.