Skip to content

CachedEntityQueryBase.Dispose() Method

Definition

Namespace: Brine2D.ECS.Query

Unregisters this query from the world's invalidation index. Call when the owning system is removed mid-scene. Failing to dispose leaves the query in the world's invalidation index, preventing GC until the world itself is disposed.

public void Dispose();

Implements Dispose()