Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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

state

TreeViewState<T>
TreeView state (expanded items, selection etc.)

Remarks

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

state

TreeViewState<T>
TreeView state (expanded items, selection etc.)

multiColumnHeader

Multi-column header for the TreeView.

Remarks