Beispiel #1
0
 private void Update()
 {
     if (!endCutScene)
     {
         if (MonoBehaviourSingleton <UIManager> .I.loading.downloadGaugeVisible)
         {
             downloadGaugeDisplayTimer -= Time.get_deltaTime();
             if (downloadGaugeDisplayTimer <= 0f)
             {
                 downloadGaugeDisplayTimer = 0f;
                 MonoBehaviourSingleton <UIManager> .I.loading.downloadGaugeVisible = false;
             }
         }
         if (isAnimationStarted)
         {
             GameSceneManager i = MonoBehaviourSingleton <GameSceneManager> .I;
             if (!i.isChangeing && isRegisted)
             {
                 bool flag = i.GetCurrentSectionName() == "Opening";
                 if (cutSceneAnimation == null)
                 {
                     if (i.IsEventExecutionPossible() && flag)
                     {
                         GoEventTutorial();
                     }
                 }
                 else if (!cutSceneAnimation.get_isPlaying())
                 {
                     if (i.IsEventExecutionPossible() && flag)
                     {
                         GoEventTutorial();
                     }
                 }
                 else if (MonoBehaviourSingleton <InputManager> .I.IsTouch() && MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSection() == this)
                 {
                     if (MonoBehaviourSingleton <PredownloadManager> .IsValid() && !MonoBehaviourSingleton <PredownloadManager> .I.isLoadingInOpening)
                     {
                         MonoBehaviourSingleton <GameSceneManager> .I.ChangeScene("Title", "OpeningSkipConfirm", UITransition.TYPE.CLOSE, UITransition.TYPE.OPEN, false);
                     }
                     else if (!MonoBehaviourSingleton <UIManager> .I.loading.downloadGaugeVisible)
                     {
                         MonoBehaviourSingleton <UIManager> .I.loading.downloadGaugeVisible = true;
                         downloadGaugeDisplayTimer = 1f;
                     }
                 }
             }
         }
     }
 }