C# Класс UnityEditor.Animations.AnimatorTransitionBase

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

Наследование: Object
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BuildTransitionName string
GetDisplayNameStateMachineSource string
GetDisplayNameStateSource string

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
BuildTransitionName ( string source, string destination ) : string
GetDisplayNameStateMachineSource ( AnimatorStateMachine source ) : string
GetDisplayNameStateSource ( AnimatorState source ) : string

Описание методов

AddCondition() публичный Метод

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.
Результат void

GetDisplayName() публичный Метод

public GetDisplayName ( Object source ) : string
source Object
Результат string

RemoveCondition() публичный Метод

Utility function to remove a condition from the transition.

public RemoveCondition ( AnimatorCondition condition ) : void
condition AnimatorCondition The condition to remove.
Результат void