Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BaseTreeView.TryRemoveItem

Declaration

public bool TryRemoveItem(int id, bool rebuildTree);

Parameters

id The item id.
rebuildTree Whether we need to rebuild tree data. Set to false when doing multiple additions to save a few rebuilds.

Returns

bool If the item was removed from the tree.

Description

Removes an item of the tree if it can find it.