SetRootItems<T>(IList<TreeViewItemData<T>>)
Sets the root items to use with the default tree view controller.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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>.