Unity 引擎文档Script ReferenceUnity.HierarchyHierarchyFlattenedNodeDepthThe depth of the node.阅读时间1 分钟最后更新于 1 天前Definition Type: Property Namespace: Unity.Hierarchy Assembly: UnityEngine.HierarchyCoreModule public int Depth { get; }