Runtime Spawner 1.2.5
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
Loading...
Searching...
No Matches
MegaCrush.Spawner.WaveSpawner Class Reference

ScriptableObject that defines a sequence of WaveEntrys for spawning. More...

Inheritance diagram for MegaCrush.Spawner.WaveSpawner:

Public Attributes

string description
 Description for this spawner (can be queried in-game).
 
float spawnDelay
 Initial delay before the first wave begins.
 
float waveInterval
 Delay between consecutive waves.
 
List< WaveEntrywaves = new()
 List of waves to be spawned by this spawner.
 

Private Member Functions

void OnValidate ()
 Validates and sanitizes wave configuration in the editor.
 

Detailed Description

ScriptableObject that defines a sequence of WaveEntrys for spawning.

Member Function Documentation

◆ OnValidate()

void MegaCrush.Spawner.WaveSpawner.OnValidate ( )
private

Validates and sanitizes wave configuration in the editor.

Member Data Documentation

◆ description

string MegaCrush.Spawner.WaveSpawner.description

Description for this spawner (can be queried in-game).

◆ spawnDelay

float MegaCrush.Spawner.WaveSpawner.spawnDelay

Initial delay before the first wave begins.

◆ waveInterval

float MegaCrush.Spawner.WaveSpawner.waveInterval

Delay between consecutive waves.

◆ waves

List<WaveEntry> MegaCrush.Spawner.WaveSpawner.waves = new()

List of waves to be spawned by this spawner.


The documentation for this class was generated from the following file: