Esempio n. 1
0
    public void destory()
    {
        frameSync.removeLogicUpdator(this);
        frameSync = null;

        LogicEvent.remove(this);

        destroyWorld();

        blueScore = 0;
        redScore  = 0;
        curState  = null;

        onFBGameDestroyed();
    }
Esempio n. 2
0
    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();
    }
Esempio n. 3
0
 public override void onExit()
 {
     base.onExit();
     LogicEvent.remove(this);
 }
Esempio n. 4
0
 void OnDestroy()
 {
     LogicEvent.remove(this);
 }
Esempio n. 5
0
 public override void clear()
 {
     LogicEvent.remove(this);
 }
Esempio n. 6
0
 public virtual void exit()
 {
     LogicEvent.remove(this);
     lookAtTarget  = null;
     useLerpLookAt = true;
 }