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