CollapseItem(int, bool, bool)
Collapses the item with the specified ID, hiding its children. Allows to collapse the whole hierarchy under that item.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void CollapseItem(int id, bool collapseAllChildren, bool refresh = true)