Skip to content

SceneBase.OnExit() Method

Definition

Namespace: Brine2D.Engine

Called when exiting the scene \(before unloading\). Called on the main thread. SDL3-backed services \(Renderer, Input, Audio\) are still available here — use this for any cleanup that requires them.

C#
protected internal virtual void OnExit();