기술 자료

Unity Engine

Unity Engine

TryRemoveItem(int, bool)

Removes an item of the tree if it can find it.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

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

Type

Description

boolIf the item was removed from the tree.