Wave Spawner
Last updated
Last updated
This scriptable object provides configuration for the various waves used when the Runtime Spawner has Wave Spawning enabled.
To Create a new Wave Spawner config you can Right Click in the Project window and go to ‘Create Other ⇒ Runtime Spawner ⇒ Wave Spawner’
Or use the Assets menu (Create ⇒ Runtime Spawner ⇒ Wave Spawner)
This will create an empty Wave Spawner, as shown below:
Click the ‘+’ button to create new Waves.
Below is a screenshot of a populated Wave Spawner
The description for this wave spawner. Can be queries in game. See the scene ‘3. Wave Spawner’ for an example.
A delay before we start spawning any of the waves.
Specifies a delay between spawning individual AI Agents as specified by this Wave Spawner.
The actual waves that we are spawning. Click the ‘+’ button to create a new wave, which will show the Wave configuration, as shown below.
When you add a new Wave to the Wave Spawner, it has a number of available properties for you to configure
General wave configuration properties.
A name for this wave (ie ‘Wave 1’ or ‘Boss Wave’). Can be queried in game. See the scene ‘3. Wave Spawner’ for an example.
A description for this wave. Can be queried in game. See the scene ‘3. Wave Spawner’ for an example.
Properties that control how the Wave is spawned.
A delay before starting to spawn this wave
A delay between spawning each AI Agent during this wave.
These two properties determine how many AI Agents that should be spawned during this wave. A random number of AI Agents will be spawned between the Min & Max number.
A list of Spawn Entry configurations that will be used to spawn AI Agents. See the Spawn Entry section of the documentation for more info.