Esempio n. 1
0
        public override void OpenPanel()
        {
            isPaused = true;
            base.OpenPanel();
            EnableButtonBehaviors();

            rootMenu.OpenPanel();
            exitConfirmationMenu.ClosePanel(true);
        }
Esempio n. 2
0
 public override void OpenPanel()
 {
     waitForUserInput = true;
     base.OpenPanel();
     rootOverlay.OpenPanel();
     confirmExitOverlay.ClosePanel(true);
     confirmLevelsOverlay.ClosePanel(true);
     EnableButtonBehaviors();
 }
Esempio n. 3
0
        public override void OpenPanel()
        {
            waitForUserInput = true;
            base.OpenPanel();
            rootOverlay.OpenPanel();
            confirmExitOverlay.ClosePanel(true);
            confirmLevelsOverlay.ClosePanel(true);
            EnableButtonBehaviors();

            pi_gpb.playerInteraction_UI.overlayBackground.SetTargetAlpha(1f);
        }
Esempio n. 4
0
        public override void OpenPanel()
        {
            isPaused = true;
            base.OpenPanel();
            EnableButtonBehaviors();

            rootMenu.OpenPanel();
            exitConfirmationMenu.ClosePanel(true);
            pi_gpb.playerInteraction_UI.overlayBackground.SetTargetAlpha(1f);
            if (!playback.paused)
            {
                playbackPrevPaused = false;
                playback.paused    = true;
                return;
            }
            else
            {
                playbackPrevPaused = true;
                playback.paused    = true;
                return;
            }
        }