WaveManager

class in SpawnerTool.Runtime | Inherits: MonoBehaviour

Description

This component is the responsible for spawning enemies given a SpawnerGraph.

Properties

bool

IsRoundActive

Is round currently spawning enemies?

CurrentSpawnerGraph

Change actual graph. It can only be changed if round is not active.

CurrentSpawnPointsIDManager

Change current SpawnPointsIDManager reference

Events

UnityEvent

OnRoundFinished

When current round of the graph has finished

UnityEvent

OnAllRoundsFinished

When all rounds of the graph have been spawned

UnityEvent<GameObject>

OnEnemySpawn

Raised when spawns enemy. It has the enemy GameObject reference

Public Methods

Starts a new round

Last updated