Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnimatorTransitionBase

Base class for animator transitions. Transitions define when and how the state machine switches from one state to another.
Read time 4 minutesLast updated 6 days ago

Definition

public class AnimatorTransitionBase : Object

Remarks

A transition happens when all its conditions are met.

Properties

Property

Description

conditionsAnimatorCondition 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.

Methods

Method

Description

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

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.