Unity Engine documentationScript ReferenceUnityEditorUnityEditor.AnimationsStateMachineBehaviourContextlayerIndexThe animator's layer index that owns this state machine behaviour.阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: UnityEditor.Animations Assembly: UnityEditor.CoreModule public int layerIndex