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