文档

Unity Engine

Unity Engine

TreeView

The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
阅读时间1 分钟最后更新于 1 个月前

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