Update the Pause menu flow to be slightly less scoffed

This commit is contained in:
Michal Pikulski
2025-10-16 23:19:33 +02:00
parent 09ae4b5ba7
commit b2384269e5
11 changed files with 167 additions and 92 deletions

View File

@@ -1,8 +1,10 @@
using System.Collections;
using System;
using System.Collections;
using UnityEngine;
using AppleHills.Core.Settings;
using AppleHills.Core.Interfaces;
using Core;
using Random = UnityEngine.Random;
namespace Minigames.DivingForPictures
{
@@ -65,10 +67,13 @@ namespace Minigames.DivingForPictures
SetNextSpawnInterval();
}
void Start()
private void OnEnable()
{
DivingGameManager.Instance.RegisterPausableComponent(this);
}
void Start()
{
// Start spawning if not paused
StartSpawningCoroutine();
}