Add music throughout. Start work on the prediction side pannels
This commit is contained in:
@@ -7,6 +7,11 @@ public class PauseController : MonoBehaviour
|
||||
|
||||
public void TogglePause(bool on)
|
||||
{
|
||||
if (GlobalStateManager.Instance != null)
|
||||
{
|
||||
AudioManager.Instance.PlaySound("Select");
|
||||
}
|
||||
|
||||
pauseMenu.SetActive(on);
|
||||
Time.timeScale = on ? 0 : 1;
|
||||
}
|
||||
@@ -16,6 +21,7 @@ public class PauseController : MonoBehaviour
|
||||
TogglePause(false);
|
||||
if (GlobalStateManager.Instance != null)
|
||||
{
|
||||
AudioManager.Instance.PlaySound("Select");
|
||||
GlobalStateManager.Instance.MenuIntended = intended;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user