Unity Engine documentationScript ReferenceUnityEditorUnityEditor.AnimationsStateMachineBehaviourContextlayerIndexThe animator's layer index that owns this state machine behaviour.Read time 1 minuteLast updated 10 days agoDefinition Type: Field Namespace: UnityEditor.Animations Assembly: UnityEditor public int layerIndex