Version: 5.6

AnimatorTransition

class in UnityEditor.Animations

/

Hereda de:Animations.AnimatorTransitionBase

Cambiar al Manual

Descripción

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.

Constructores

AnimatorTransitionCreates a new animator transition.

Miembros heredados

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.

Funciones Públicas

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