Property | Type | Description | |
---|---|---|---|
enemyPrefabs | List |
||
numberOfWavesInMemory | int | ||
waveSpawnDelay | float |
Method | Description | |
---|---|---|
SpawnWave ( ) : void |
Starts a wave from the upcomming Waves list. Ends the game when all the waves have been ran, all the enemies are dead, and the player didn't lose.
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CreateEnemies ( Wave, wave, Node, spawns ) : IEnumerator |
Creates EnemyBases at the given spawn points.
|
|
DequeueWave ( ) : Wave, |
Removes a Wave from upcomingWaves and will Enqueue a new Wave if required.
|
|
PopulateUpcomingWaves ( ) : void |
Initializes the waves in upcomingWaves
|
public static int numberOfWavesInMemory | ||
return | int |