示例#1
0
 public void OnContinue()
 {
     SceneHandler.Pause(false);
     Hide();
     OverlayMenu.Show();
     PlayerEventHandler.CloseMenu();
 }
示例#2
0
 public void Update()
 {
     if (!Input.anyKey)
     {
         return;
     }
     if (Input.GetKeyDown(KeyCode.F))
     {
         SceneHandler.Pause(false);
         Hide();
         OverlayMenu.Show();
         PlayerEventHandler.ClosePhone();
     }
 }
示例#3
0
 private void Update()
 {
     if (!Input.anyKey)
     {
         return;
     }
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         SceneHandler.Pause(false);
         Hide();
         OverlayMenu.Show();
         PlayerEventHandler.CloseMenu();
     }
 }