ドキュメント

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)

The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.
注意
Deprecated. TreeView is now deprecated. You can likely now use TreeView\<int\> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView\<InstanceID\> to get the proper typing.
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.
注意
Deprecated. TreeView is now deprecated. You can likely now use TreeView\<int\> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView\<InstanceID\> to get the proper typing.
protected TreeView(TreeViewState state, MultiColumnHeader multiColumnHeader)

Parameters

TreeView state (expanded items, selection etc.)

multiColumnHeader

Multi-column header for the TreeView.

Remarks

Additional Resources: TreeViewState, MultiColumnHeader.