Animate and add sound to countdown

This commit is contained in:
BuyMyMojo 2023-03-04 09:06:17 +11:00
parent 60ee4185e2
commit 8b0817b15d
6 changed files with 66 additions and 5 deletions

View file

@ -23,7 +23,7 @@ public class PlatesCounter : BaseCounter
{
spawnPlateTimer = 0f;
if (platesSpawnedAmount < platesSpawnedMax)
if (GameStateManager.Instace.IsGamePlaying() && platesSpawnedAmount < platesSpawnedMax)
{
platesSpawnedAmount++;