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
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Свойство Type Description
BuildTransitionName string
GetDisplayNameStateMachineSource string
GetDisplayNameStateSource string

Méthodes publiques

Méthode 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

Méthode Description
BuildTransitionName ( string source, string destination ) : string
GetDisplayNameStateMachineSource ( AnimatorStateMachine source ) : string
GetDisplayNameStateSource ( AnimatorState source ) : string

Method Details

AddCondition() public méthode

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.
Résultat void

GetDisplayName() public méthode

public GetDisplayName ( Object source ) : string
source Object
Résultat string

RemoveCondition() public méthode

Utility function to remove a condition from the transition.

public RemoveCondition ( AnimatorCondition condition ) : void
condition AnimatorCondition The condition to remove.
Résultat void