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
- 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.