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

Script language

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

AnimatorControllerLayer.stateMachine

public Animations.AnimatorStateMachine stateMachine;

Description

The state machine for the layer.

When using Synced Layer, this state machine is overridden by the state machine of the synced layer.