TryRemoveItem(int, bool)
Removes an item by id.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public abstract bool TryRemoveItem(int id, bool rebuildTree = true)
Parameters
The item id.
Whether to refresh the tree data. Set to when doing multiple operations and call BaseVerticalCollectionView.RefreshItems().
falseReturns
Type | Description |
|---|---|
| bool | Whether the item was successfully found and removed. |