文档

Unity Engine

Unity Engine

TreeViewItem

TreeViewItem constructor.
阅读时间1 分钟最后更新于 1 个月前

Definition

TreeViewItem()

TreeViewItem constructor.
public TreeViewItem()

TreeViewItem(int)

TreeViewItem constructor.
public TreeViewItem(int id)

Parameters

id

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

id

Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.

depth

Depth of this TreeViewItem. See Also TreeViewItem.depth.

TreeViewItem(int, int, string)

TreeViewItem constructor.
public TreeViewItem(int id, int depth, string displayName)

Parameters

id

Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.

depth

Depth of this TreeViewItem. See Also TreeViewItem.depth.

displayName

Rendered name of this TreeViewItem. See Also TreeViewItem.displayName.