예제 #1
0
 //----- FUNCIONES Y CONTROLES DEL JUGADOR 1 -----//
 public void CheckPauseButton_P1()
 {
     if (InputPlayerController.PauseButton_P1())
     {
         CheckValueInPause();
         CheckInPause();
     }
 }
예제 #2
0
 public void CheckMenu()
 {
     if (InputPlayerController.PauseButton_P1())
     {
         menuPlayer1.SetActive(true);
         menuPlayer2.SetActive(false);
     }
     else if (InputPlayerController.PauseButton_P2())
     {
         menuPlayer1.SetActive(false);
         menuPlayer2.SetActive(true);
     }
 }