ドキュメント

Unity Engine

Unity Engine

TryRemoveItem(int, bool)

Removes an item by id.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public abstract bool TryRemoveItem(int id, bool rebuildTree = true)

Parameters

id

The item id.

rebuildTree

Whether to refresh the tree data. Set to
false
when doing multiple operations and call BaseVerticalCollectionView.RefreshItems().

Returns

Type

Description

boolWhether the item was successfully found and removed.