This version of Unity is unsupported.

DefaultMultiColumnTreeViewController<T0>.AddItem

Declaration

public void AddItem(TreeViewItemData<T> item, int parentId, int childIndex, bool rebuildTree);

Parameters

Parameter Description
item Item to add.
parentId The parent id for the item.
childIndex The child index in the parent's children list.
rebuildTree Whether to refresh the tree data immediately. If <c>false</c>, call <see cref="BaseVerticalCollectionView.RefreshItems()" />.

Description

Adds an item to the tree.