TreeViewItem
TreeViewItem constructor.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
TreeViewItem()
TreeViewItem constructor.
public TreeViewItem()
TreeViewItem(int)
TreeViewItem constructor.
public TreeViewItem(int id)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
TreeViewItem(int, int)
TreeViewItem constructor.
public TreeViewItem(int id, int depth)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
Depth of this TreeViewItem. See Also TreeViewItem.depth.
TreeViewItem(int, int, string)
TreeViewItem constructor.
public TreeViewItem(int id, int depth, string displayName)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
Depth of this TreeViewItem. See Also TreeViewItem.depth.
Rendered name of this TreeViewItem. See Also TreeViewItem.displayName.