Working pause menu re-worked with exlusive views
This commit is contained in:
@@ -81,8 +81,6 @@ namespace Minigames.DivingForPictures
|
||||
/// </summary>
|
||||
public void Pause()
|
||||
{
|
||||
if (GameManager.Instance.IsPaused) return; // Already paused
|
||||
|
||||
// Stop spawning coroutine
|
||||
if (_spawnCoroutine != null)
|
||||
{
|
||||
@@ -108,8 +106,6 @@ namespace Minigames.DivingForPictures
|
||||
/// </summary>
|
||||
public void DoResume()
|
||||
{
|
||||
if (!GameManager.Instance.IsPaused) return; // Already running
|
||||
|
||||
// Restart spawning coroutine
|
||||
StartSpawningCoroutine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user