CollapseItemByIndex(int, bool, bool)
Collapses the item with the specified index, hiding its children. Allows to collapse the whole hierarchy under that item.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void CollapseItemByIndex(int index, bool collapseAllChildren, bool refresh = true)