예제 #1
0
 public void OnClick()
 {
     if (PongGame.instance.isPaused)
     {
         ingameMenu.ResumeGame();
     }
     else
     {
         ingameMenu.PauseGame();
     }
 }