Animate and add sound to countdown
This commit is contained in:
parent
60ee4185e2
commit
8b0817b15d
6 changed files with 66 additions and 5 deletions
|
@ -23,7 +23,7 @@ public class PlatesCounter : BaseCounter
|
|||
{
|
||||
spawnPlateTimer = 0f;
|
||||
|
||||
if (platesSpawnedAmount < platesSpawnedMax)
|
||||
if (GameStateManager.Instace.IsGamePlaying() && platesSpawnedAmount < platesSpawnedMax)
|
||||
{
|
||||
platesSpawnedAmount++;
|
||||
|
||||
|
|
Reference in a new issue