public void destory() { frameSync.removeLogicUpdator(this); frameSync = null; LogicEvent.remove(this); destroyWorld(); blueScore = 0; redScore = 0; curState = null; onFBGameDestroyed(); }
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(); }
public override void onExit() { base.onExit(); LogicEvent.remove(this); }
void OnDestroy() { LogicEvent.remove(this); }
public override void clear() { LogicEvent.remove(this); }
public virtual void exit() { LogicEvent.remove(this); lookAtTarget = null; useLerpLookAt = true; }