ComponentPool.ReturnEntityIdSnapshot(long[]) Method
Definition¶
Namespace: Brine2D.ECS
Returns an entity-ID snapshot to the ArrayPool. MUST be called after GetEntityIdSnapshot() to prevent memory leaks.
public void ReturnEntityIdSnapshot(long[] snapshot);
Parameters¶
snapshot System.Int64[]