Documentation

Unity Engine

Unity Engine

TreeViewItem

TreeViewItem constructor.
Read time 1 minuteLast updated a month ago

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.