Animate and add sound to countdown
This commit is contained in:
parent
60ee4185e2
commit
8b0817b15d
6 changed files with 66 additions and 5 deletions
|
@ -34,7 +34,7 @@ public class DeliveryManager : MonoBehaviour
|
|||
{
|
||||
spawnRecipeTimer = spawnRecipeTimerMax;
|
||||
|
||||
if (waitingRecipeSOList.Count < waitingRecipesMax)
|
||||
if (GameStateManager.Instace.IsGamePlaying() && waitingRecipeSOList.Count < waitingRecipesMax)
|
||||
{
|
||||
RecipeSO waitingRecipeSO = recipeListSO.recipeSOList[UnityEngine.Random.Range(0, recipeListSO.recipeSOList.Count)];
|
||||
|
||||
|
|
Reference in a new issue