Exemplo n.º 1
0
 public void Recyle()
 {
     this.bUpdate = true;
     this.forward = VInt3.zero;
     this.objID   = 0u;
     MiniMapSysUT.RecycleMapGameObject(this.small_track);
     MiniMapSysUT.RecycleMapGameObject(this.big_track);
     this.small_track = null;
     this.big_track   = null;
 }
Exemplo n.º 2
0
        public void Dispose()
        {
            if (this.m_effectInScene != null)
            {
                Singleton <CGameObjectPool> .GetInstance().RecycleGameObject(this.m_effectInScene);

                this.m_effectInScene = null;
            }
            MiniMapSysUT.RecycleMapGameObject(this.m_signalInUi);
            this.m_signalInUi       = null;
            this.m_effectInScene    = null;
            this.m_signalInUIEffect = null;
            this.m_bUseSignal       = false;
        }