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 10 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
TreeView(TreeViewState<T>)
The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
public TreeView(TreeViewState<TIdentifier> state)
Parameters
Remarks
Additional Resources: TreeViewState<TIdentifier>, MultiColumnHeader.
TreeView(TreeViewState<T>, MultiColumnHeader)
The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
public TreeView(TreeViewState<TIdentifier> state, MultiColumnHeader multiColumnHeader)
Parameters
Multi-column header for the TreeView.
Remarks
Additional Resources: TreeViewState<TIdentifier>, MultiColumnHeader.