TreeView
The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
TreeView(TreeViewState)
The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
protected TreeView(TreeViewState state)
Parameters
TreeView state (expanded items, selection etc.)
Remarks
Additional Resources: TreeViewState, MultiColumnHeader.
TreeView(TreeViewState, MultiColumnHeader)
The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
protected TreeView(TreeViewState state, MultiColumnHeader multiColumnHeader)
Parameters
TreeView state (expanded items, selection etc.)
Multi-column header for the TreeView.
Remarks
Additional Resources: TreeViewState, MultiColumnHeader.