Exemple #1
0
 private void DecideAdvancingWithDrawalBtn(UIHexButton btn)
 {
     if (this._isDecide)
     {
         return;
     }
     this._isDecide = true;
     KCV.Utils.SoundUtils.PlaySE(SEFIleInfos.SE_036);
     this._listHexBtns.ForEach(delegate(UIHexButton x)
     {
         x.isColliderEnabled = false;
     });
     this.SetAdvancingWithdrawalBtnState(btn.index);
     if (this._isBattleCut)
     {
         UIBattleCutNavigation navigation = BattleCutManager.GetNavigation();
         navigation.Hide(0.2f, null);
     }
     else
     {
         UIBattleNavigation battleNavigation = BattleTaskManager.GetPrefabFile().battleNavigation;
         battleNavigation.Hide(0.2f, null);
     }
     if (this._delDecideAdvancingWithdrawalButton != null)
     {
         this._delDecideAdvancingWithdrawalButton(btn);
     }
 }
Exemple #2
0
 private void compFlagshipWreck()
 {
     if (_isControl)
     {
         _isFinished = true;
         _isControl  = false;
         if (_isBattleCut)
         {
             UIBattleCutNavigation navigation = BattleCutManager.GetNavigation();
             navigation.Hide(0.2f, null);
         }
         else
         {
             UIBattleNavigation battleNavigation = BattleTaskManager.GetPrefabFile().battleNavigation;
             battleNavigation.Hide(0.2f, null);
         }
         Dlg.Call(ref _actCallback);
     }
 }