文档

Unity Engine

Unity Engine

SetRootItems<T>(IList<TreeViewItemData<T>>)

Sets the root items to use with the default tree view controller.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetRootItems<T>(IList<TreeViewItemData<T>> rootItems)

Parameters

The TreeView root items.

Remarks

Root items can include their children directly. This will force the use of a DefaultTreeViewController<T>.