This version of Unity is unsupported.

BaseTreeViewController.ExpandItem

Declaration

public void ExpandItem(int id, bool expandAllChildren, bool refresh);

Parameters

id The item id.
expandAllChildren Whether or not to expand the whole hierarchy under that item.
refresh Whether to refresh items or not. Set to false when doing multiple operations on the tree, to only do one RefreshItems once all operations are done.

Description

Expands the item with the specified id, making its children visible. Allows to expand the whole hierarchy under that item.