Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

StateMachineBehaviourContext

class in UnityEditor.Animations

Description

This class contains all the owner's information for this State Machine Behaviour.

Variables

animatorControllerThe AnimatorController that owns this state machine behaviour.
animatorObjectThe object that owns this state machine behaviour. Could be an AnimatorState or AnimatorStateMachine.
layerIndexThe animator's layer index that owns this state machine behaviour.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答