Esempio n. 1
0
 // Button to resume game
 public void resumeGame()
 {
     pause_panel.SetActive(false);          // Hide the pause panel on the scene
     PlayerMovement.pausePlayer(false);     // Set player movement to false
     OpponentRings.pauseOpponent(false);    // Set opponent movement to false
 }
Esempio n. 2
0
 // Button to pause Game
 public void pauseGame()
 {
     pause_panel.SetActive(true);          // Display the pause panel on the scene
     PlayerMovement.pausePlayer(true);     // Set player movement to true
     OpponentRings.pauseOpponent(true);    // Set opponent movement to true
 }