Esempio n. 1
0
 public void UnPause()
 {
     isPaused = false;
     // Set time.timescale to 1, this will cause animations and physics to continue updating at regular speed
     Time.timeScale = 1;
     foreach (AudioSource sound in allAudioSources)
     {
         sound.UnPause();
     }
     showPanels.Hide(pausePanel);
 }