void OnDestroy() { Game.terminate(); RealTimeRAProcessCenter.terminate(); FrameRecording.terminate(); SceneViews.terminate(); }
void OnDestroy() { LogicEvent.remove(this); #if FRAME_RECORDING FrameRecording.terminate(); #endif #if !SCENEEDITOR_TOOL LuaProxy.terminate(); #endif SceneViews.terminate(); RealTimeRAProcessCenter.terminate(); Profiler.terminate(); Game.terminate(); Debuger.Close(); }