SceneBase.OnExit() Method

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.

protected internal virtual void OnExit();