Ejemplo n.º 1
0
 private void OnDestroy()
 {
     _bgPanel                 = null;
     _bannerPanel             = null;
     _allUnsetBtn             = null;
     _tenderBtn               = null;
     _fleetNameBtn            = null;
     _fleetNameLabel          = null;
     mTransform_TurnEndStamp  = null;
     _displaySwipeEventRegion = null;
     deckChangeArrows         = null;
     deckIcon                 = null;
     Mem.DelDictionarySafe(ref StateControllerDic);
     _bannerManager   = null;
     SystemIndex      = 0;
     prevControlState = string.Empty;
     changeState      = string.Empty;
     _state           = OrganizeState.Top;
     Mem.Del(ref BannerIndex);
     Mem.Del(ref controlState);
     uiCamera          = null;
     TenderManager     = null;
     currentDeck       = null;
     deckSwitchManager = null;
     decks             = null;
     allShip           = null;
     KeyController     = null;
 }
 private void OnDestroy()
 {
     this._bgPanel                 = null;
     this._bannerPanel             = null;
     this._allUnsetBtn             = null;
     this._tenderBtn               = null;
     this._fleetNameBtn            = null;
     this._fleetNameLabel          = null;
     this.mTransform_TurnEndStamp  = null;
     this._displaySwipeEventRegion = null;
     this.deckChangeArrows         = null;
     this.deckIcon                 = null;
     Mem.DelDictionarySafe <string, TaskOrganizeTop.StateController>(ref this.StateControllerDic);
     this._bannerManager              = null;
     TaskOrganizeTop.SystemIndex      = 0;
     TaskOrganizeTop.prevControlState = string.Empty;
     TaskOrganizeTop.changeState      = string.Empty;
     this._state = TaskOrganizeTop.OrganizeState.Top;
     Mem.Del <int>(ref TaskOrganizeTop.BannerIndex);
     Mem.Del <string>(ref TaskOrganizeTop.controlState);
     this.uiCamera                 = null;
     this.TenderManager            = null;
     this.currentDeck              = null;
     this.deckSwitchManager        = null;
     TaskOrganizeTop.decks         = null;
     TaskOrganizeTop.allShip       = null;
     TaskOrganizeTop.KeyController = null;
 }