Skip to content

EntityWorld.TeardownEntities() Method

Definition

Namespace: Brine2D.ECS

Shared entity teardown used by both Clear() and Dispose(). Flushes pending changes, runs OnDestroy() on every entity, and resets all entity-related state.

private void TeardownEntities();