Working pause menu re-worked with exlusive views
This commit is contained in:
@@ -804,8 +804,6 @@ namespace Minigames.DivingForPictures
|
||||
|
||||
public void DoPause(bool turnOffGameInput = true)
|
||||
{
|
||||
if (GameManager.Instance.IsPaused) return; // Already paused
|
||||
|
||||
// Pause all registered components
|
||||
foreach (var component in _pausableComponents)
|
||||
{
|
||||
@@ -824,8 +822,6 @@ namespace Minigames.DivingForPictures
|
||||
/// </summary>
|
||||
public void DoResume()
|
||||
{
|
||||
if (!GameManager.Instance.IsPaused) return; // Already running
|
||||
|
||||
// Resume all registered components
|
||||
foreach (var component in _pausableComponents)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user