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

The Animation Layer contains a state machine that controls animations of a model or part of it.

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

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

Метод Описание
GetOverrideBehaviours ( AnimatorState state ) : UnityEngine.StateMachineBehaviour[]

Gets the override behaviour list for the state on the given layer.

GetOverrideMotion ( AnimatorState state ) : Motion

Gets the override motion for the state on the given layer.

SetOverrideBehaviours ( AnimatorState state, StateMachineBehaviour behaviours ) : void
SetOverrideMotion ( AnimatorState state, Motion motion ) : void

Sets the override motion for the state on the given layer.

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

GetOverrideBehaviours() публичный метод

Gets the override behaviour list for the state on the given layer.

public GetOverrideBehaviours ( AnimatorState state ) : UnityEngine.StateMachineBehaviour[]
state AnimatorState The state which we want to get the behaviour list.
Результат UnityEngine.StateMachineBehaviour[]

GetOverrideMotion() публичный метод

Gets the override motion for the state on the given layer.

public GetOverrideMotion ( AnimatorState state ) : Motion
state AnimatorState The state which we want to get the motion.
Результат UnityEngine.Motion

SetOverrideBehaviours() публичный метод

public SetOverrideBehaviours ( AnimatorState state, StateMachineBehaviour behaviours ) : void
state AnimatorState
behaviours UnityEngine.StateMachineBehaviour
Результат void

SetOverrideMotion() публичный метод

Sets the override motion for the state on the given layer.

public SetOverrideMotion ( AnimatorState state, Motion motion ) : void
state AnimatorState The state which we want to set the motion.
motion UnityEngine.Motion The motion that will be set.
Результат void