C# Class UnityEditor.Animations.AnimatorTransitionBase

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

Inheritance: Object
Mostrar archivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
BuildTransitionName string
GetDisplayNameStateMachineSource string
GetDisplayNameStateSource string

Public Methods

Method Description
AddCondition ( AnimatorConditionMode mode, float threshold, string parameter ) : void

Utility function to add a condition to a transition.

GetDisplayName ( Object source ) : string
RemoveCondition ( AnimatorCondition condition ) : void

Utility function to remove a condition from the transition.

Private Methods

Method Description
BuildTransitionName ( string source, string destination ) : string
GetDisplayNameStateMachineSource ( AnimatorStateMachine source ) : string
GetDisplayNameStateSource ( AnimatorState source ) : string

Method Details

AddCondition() public method

Utility function to add a condition to a transition.

public AddCondition ( AnimatorConditionMode mode, float threshold, string parameter ) : void
mode AnimatorConditionMode The Animations.AnimatorCondition mode of the condition.
threshold float The threshold value of the condition.
parameter string The name of the parameter.
return void

GetDisplayName() public method

public GetDisplayName ( Object source ) : string
source Object
return string

RemoveCondition() public method

Utility function to remove a condition from the transition.

public RemoveCondition ( AnimatorCondition condition ) : void
condition AnimatorCondition The condition to remove.
return void