文档

Unity Engine

Unity Engine

TreeViewItem

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

Definition

TreeViewItem()

TreeViewItem constructor.
public TreeViewItem()

TreeViewItem(T)

TreeViewItem constructor.
public TreeViewItem(TIdentifier id)

Parameters

id

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

TreeViewItem(T, int)

TreeViewItem constructor.
public TreeViewItem(TIdentifier id, int depth)

Parameters

id

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

depth

Depth of this TreeViewItem. See Also TreeViewItem<TIdentifier>.depth.

TreeViewItem(T, int, string)

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

Parameters

id

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

depth

Depth of this TreeViewItem. See Also TreeViewItem<TIdentifier>.depth.

displayName

Rendered name of this TreeViewItem. See Also TreeViewItem<TIdentifier>.displayName.