feature-waves #16
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature-waves"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements basic waves of enemies that spawn. #11
@@ -0,0 +1,11 @@using UnityEngine;namespace DefaultNamespacewho
Anything in the top level package gets put under DefaultNamespace. Rider puts this automatically when you make a new file in the top level package. Really we want to set the namespace for that package to IdleSurvivors or something.
@@ -0,0 +4,4 @@{Uniform,Random,DiskRandommissing trailing comma
@@ -0,0 +12,4 @@{public class WaveSpawner : MonoBehaviour{[SerializeField] private SpawnWaveSOEventChannelSO startNewSpawnWaveEventChannel;nit: verbose name
@@ -0,0 +72,4 @@var enemyPackSpawnPosition = spawnCenter.position + enemyPackSpawnOffset;var enemyPackToSpawn = enemyPacksToSpawn[packN];for (var enemyN = 0; enemyN < enemyPackToSpawn.Count; enemyN++)there's no foreach-ish loop appropriate to use here?
I need to keep track of the count of enemies that have spawned