public override void DestroyScene() { base.DestroyScene(); physics.ExitPhysics(); textInputHandler.MessageReceived -= textInputHandler_MessageReceived; if (textInputHandler != null) { textInputHandler.Dispose(); } if (sceneMgr != null) { sceneMgr.ClearScene(); } if (Root.Singleton != null) { Root.Singleton.Dispose(); } }
protected override void OnUnload(System.EventArgs e) { physics.ExitPhysics(); base.OnUnload(e); }
protected override void EndRun() { physics.ExitPhysics(); base.EndRun(); }