Unity 引擎文档Script ReferenceUnityEngineAnimatorlayerCountReturns the number of layers in the controller.阅读时间1 分钟最后更新于 1 天前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.AnimationModule public int layerCount { get; }