SetExpandedRecursive(int, bool)
Expand or collapse all items under item with id.
Read time 1 minuteLast updated 20 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
public void SetExpandedRecursive(int id, bool expanded)
Parameters
Remarks
This is also used internally when Alt/Option + clicking an foldout arrow of an item to expand/collapse the entire sub-tree under this item.