Unity 引擎文档Script ReferenceUnityEngineUnityEngine.UIElementsBaseTreeViewCollapseAll()Collapses all TreeView items, including children.阅读时间1 分钟最后更新于 2 天前Definition Type: Method Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public void CollapseAll()