Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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>.