Skip to content

DeferredList.Add(T) Method

Definition

Namespace: Brine2D.ECS

Queues an item to be added. If the item is committed and pending removal, the removal is cancelled so the net effect of Remove → Add is "item stays". No-op if the item is already committed (without pending removal) or already queued for add. O(1) via HashSet mirrors.

public void Add(T item);

Parameters

item T