public void Play()
 {
     mMissionResultStatus.PlayShowBanners(delegate
     {
         mMissionJudgeCutIn.SetOnFinishedAnimationListener(delegate
         {
             TrophyUtil.Unlock_UserLevel();
             TrophyUtil.Unlock_Material();
             mKeyController.IsRun = true;
             StartCoroutine(WaitForKeyOrTouch(mKeyController, delegate
             {
                 mKeyController.ClearKeyAll();
                 mMissionJudgeCutIn.SetActive(isActive: false);
                 mMissionResultStatus.PlayShowBannersExp(null);
                 mMissionResultBonus.Play(delegate
                 {
                     mTransform_TouchControlArea.SetActive(isActive: true);
                     mKeyController.IsRun = true;
                     StartCoroutine(WaitForKeyOrTouch(mKeyController, delegate
                     {
                         mKeyController.IsRun = true;
                         if (mOnSelectNextAction != null)
                         {
                             mOnSelectNextAction();
                         }
                     }));
                 });
             }));
         });
         mMissionJudgeCutIn.Play();
     });
 }
Ejemplo n.º 2
0
 public void StartAnimation(Action callback)
 {
     TrophyUtil.Unlock_UserLevel();
     _actCallback = callback;
     Observable.Timer(TimeSpan.FromSeconds(0.800000011920929)).Subscribe(delegate
     {
         _clsResultFrame.Show();
         _clsShips.Show();
     }).AddTo(base.gameObject);
     Observable.Timer(TimeSpan.FromSeconds(2.0)).Subscribe(delegate
     {
         StartHPBarAnim();
         _clsShips.resultShips[0].act = delegate
         {
             Observable.Timer(TimeSpan.FromSeconds(1.0)).Subscribe(delegate
             {
                 _clsShips.resultShips[_clsMVPShip.index].ShowMVPIcon();
                 StartEXPBarAnim();
                 isAnimEnd = true;
                 UIBattleCutNavigation navigation = BattleCutManager.GetNavigation();
                 navigation.SetNavigationInResult();
                 navigation.Show(0.2f, null);
             });
         };
     }).AddTo(base.gameObject);
 }
Ejemplo n.º 3
0
 private IEnumerator StartProductionCoroutine(DeckPracticeResultModel deckPracticeResultModel, Action onFinished)
 {
     TrophyUtil.Unlock_UserLevel();
     ShipModel[] ships = deckPracticeResultModel.Ships;
     foreach (ShipModel ship in ships)
     {
         ShipExpModel shipExpInfo = deckPracticeResultModel.GetShipExpInfo(ship.MemId);
         PowUpInfo    powUpInfo   = deckPracticeResultModel.GetShipPowupInfo(ship.MemId);
         IEnumerator  startProductionShipResult = StartProductionShipResult(ship, shipExpInfo, powUpInfo);
         yield return(StartCoroutine(startProductionShipResult));
     }
     if (onFinished != null)
     {
         SoundUtils.PlaySE(SEFIleInfos.CommonEnter1);
         onFinished();
     }
 }
Ejemplo n.º 4
0
 private bool initEXPReflection(object data)
 {
     TrophyUtil.Unlock_UserLevel();
     _uiMVPShip.Show(BattleUtils.IsPlayMVPVoice(_clsResultModel.WinRank), null);
     _uiBonus.Show(null);
     Observable.Timer(TimeSpan.FromSeconds(0.25)).Subscribe(delegate
     {
         _listVeteransReportFleets[0].PlayEXPUpdate(delegate
         {
             UIBattleNavigation battleNavigation = BattleTaskManager.GetPrefabFile().battleNavigation;
             battleNavigation.SetNavigationInResult();
             battleNavigation.Show(0.2f, null);
             _uiGearBtn.Show(delegate
             {
                 _isInputEnabled = true;
             });
         });
         _uiGearBtn.SetDecideAction(OnDecideEXPUodateGearBtn);
     });
     return(false);
 }