Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsBaseTreeViewExpandRootItems()Expands all root TreeView items.Read time 1 minuteLast updated 5 days agoDefinition Type: Method Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public void ExpandRootItems()