Version: 5.6

AnimatorTransitionBase

class in UnityEditor.Animations

Cambiar al Manual

Descripción

Base class for animator transitions. Transitions define when and how the state machine switches from one state to another.

A transition happens when all its conditions are met.

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.