Exemplo 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;
 }
Exemplo n.º 3
0
 public void CreateTender()
 {
     if (!isInitTender)
     {
         TenderManager = GameObject.Find("Tender").SafeGetComponent <OrganizeTender>();
         TenderManager.init();
         isInitTender = true;
     }
 }
 private void OnDestroy()
 {
     this._tot            = null;
     this._tod            = null;
     this.SpriteButtonX   = null;
     this._buttonSR       = null;
     this._buttonL        = null;
     this._buttonR        = null;
     this._buttonMaru     = null;
     this._buttonBatu     = null;
     this._buttonShikaku  = null;
     this._buttonSankaku  = null;
     this._uiLabelShikaku = null;
     this._uiLabelBatu    = null;
     this.key             = null;
     this.key2            = null;
     this.model           = null;
 }
Exemplo n.º 5
0
 private void OnDestroy()
 {
     _tot            = null;
     _tod            = null;
     SpriteButtonX   = null;
     _buttonSR       = null;
     _buttonL        = null;
     _buttonR        = null;
     _buttonMaru     = null;
     _buttonBatu     = null;
     _buttonShikaku  = null;
     _buttonSankaku  = null;
     _uiLabelShikaku = null;
     _uiLabelBatu    = null;
     key             = null;
     key2            = null;
     model           = null;
 }