Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsTreeViewItemData<T>hasChildrenWhether this item has children or not.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public bool hasChildren { get; }