StateMachineBehaviourContext

Unity · Версия 2020.3 LTS · Scripting

StateMachineBehaviourContext

Описание

Этот класс содержит всю информацию о владельце для этого поведения конечного автомата.

Смотрите так же: AnimatorController.FindStateMachineBehaviourContext.

Свойства

animatorController The AnimatorController that owns this state machine behaviour.
animatorObject The object that owns this state machine behaviour. Could be an AnimatorState or AnimatorStateMachine.
layerIndex The animator's layer index that owns this state machine behaviour.

Обновлено 17 ноября 2026 г.