Skip to content

DeferredList.IsQueuedForRemoval(T) Method

Definition

Namespace: Brine2D.ECS

Checks if an item is queued for removal or is actively being removed. O\(1\). Checks both the pending buffer and the active-processing buffer so callers inside a removal callback \(e\.g\., Entity\.OnDestroy\) cannot accidentally re-queue the same item.

C#
public bool IsQueuedForRemoval(T item);

Parameters

item T

Returns

System.Boolean