EntityWorld.Dispose() Method
Definition¶
Namespace: Brine2D.ECS
Releases all internal references, runs entity lifecycle callbacks, and disposes systems. Called automatically by the DI scope when the scene is unloaded. Entities receive OnDestroy() so cleanup logic (event unsubscription, behavior detach, etc.) runs even without an explicit Clear() call.
public void Dispose();
Implements Dispose()