public override void OpenPanel() { isPaused = true; base.OpenPanel(); EnableButtonBehaviors(); rootMenu.OpenPanel(); exitConfirmationMenu.ClosePanel(true); }
public override void OpenPanel() { waitForUserInput = true; base.OpenPanel(); rootOverlay.OpenPanel(); confirmExitOverlay.ClosePanel(true); confirmLevelsOverlay.ClosePanel(true); EnableButtonBehaviors(); }
public override void OpenPanel() { waitForUserInput = true; base.OpenPanel(); rootOverlay.OpenPanel(); confirmExitOverlay.ClosePanel(true); confirmLevelsOverlay.ClosePanel(true); EnableButtonBehaviors(); pi_gpb.playerInteraction_UI.overlayBackground.SetTargetAlpha(1f); }
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; } }