TO SQUASH: Lots of UI.
This commit is contained in:
@@ -38,12 +38,12 @@ public class Pause : MonoBehaviour
|
||||
if (isPaused)
|
||||
{
|
||||
audioSource.PlayOneShot(pauseSound);
|
||||
musicManager.pauseMusic();
|
||||
musicManager.PauseMusic();
|
||||
Time.timeScale = 0.0f; // Pause the game
|
||||
}
|
||||
else
|
||||
{
|
||||
musicManager.resumeMusic();
|
||||
musicManager.ResumeMusic();
|
||||
Time.timeScale = 1.0f; // Resume the game
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user