From dc398009a95581d9ee0b45122df8637e57b09d00 Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:36:28 +0100 Subject: [PATCH] uncommented randomenemyspawn method --- Assets/Scripts/Controller/EnemySpawner/EnemySpawner.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/Scripts/Controller/EnemySpawner/EnemySpawner.cs b/Assets/Scripts/Controller/EnemySpawner/EnemySpawner.cs index d3c8bcf..943dfae 100644 --- a/Assets/Scripts/Controller/EnemySpawner/EnemySpawner.cs +++ b/Assets/Scripts/Controller/EnemySpawner/EnemySpawner.cs @@ -68,12 +68,12 @@ public class NewBehaviourScript : MonoBehaviour void SpawnWave(float difficulty) { - SpawnStrongestFirst(difficulty); + //SpawnStrongestFirst(difficulty); - //if (Wave != 0 && Wave % 10 == 0) - // SpawnStrongestFirst(difficulty); - //else - // SpawnRandom(difficulty); + if (Wave != 0 && Wave % 10 == 0) + SpawnStrongestFirst(difficulty); + else + SpawnRandom(difficulty); } void SpawnStrongestFirst(float difficulty)