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