Working pause menu re-worked with exlusive views

This commit is contained in:
Michal Pikulski
2025-10-24 10:41:27 +02:00
parent 7bb905eb6b
commit 1003c3f6ac
14 changed files with 878 additions and 116 deletions

View File

@@ -137,8 +137,6 @@ namespace Minigames.DivingForPictures
/// </summary>
public void Pause()
{
if (GameManager.Instance.IsPaused) return; // Already paused
StopObstacleCoroutines();
Logging.Debug($"[FloatingObstacle] Paused obstacle: {name}");
@@ -149,8 +147,6 @@ namespace Minigames.DivingForPictures
/// </summary>
public void DoResume()
{
if (!GameManager.Instance.IsPaused) return; // Already running
StartObstacleCoroutines();
Logging.Debug($"[FloatingObstacle] Resumed obstacle: {name}");