Version: 2018.1

TreeViewConstructor

Switch to Manual
public TreeView (IMGUI.Controls.TreeViewState state);
public TreeView (IMGUI.Controls.TreeViewState state, IMGUI.Controls.MultiColumnHeader multiColumnHeader);

Parameters

stateTreeView state (expanded items, selection etc.)
multiColumnHeaderMulti-column header for the TreeView.

Description

The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.