> For the complete documentation index, see [llms.txt](https://joanorba.gitbook.io/spawnertool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joanorba.gitbook.io/spawnertool/api/runtime/wavemanager.md).

# WaveManager

class in SpawnerTool.Runtime  |  Inherits: MonoBehaviour

### Description

This component is the responsible for spawning enemies given a [SpawnerGraph](/spawnertool/api/data/spawnergraph.md).

See [Wave Manager](/spawnertool/making-enemies-spawn/making-enemies-spawn/managing-spawnpoints.md) for further details on how to use it.

### Properties

| bool                                                                     | IsRoundActive               | Is round currently spawning enemies?                                                              |
| ------------------------------------------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------- |
| [SpawnerGraph](/spawnertool/api/data/spawnergraph.md)                    | CurrentSpawnerGraph         | Change actual graph. It can only be changed if round is not active.                               |
| [SpawnPointsIDManager](/spawnertool/api/runtime/spawnpointsidmanager.md) | CurrentSpawnPointsIDManager | Change current [SpawnPointsIDManager](/spawnertool/api/runtime/spawnpointsidmanager.md) reference |

### Events

<table data-header-hidden><thead><tr><th width="254.33333333333331"></th><th></th><th></th></tr></thead><tbody><tr><td>UnityEvent</td><td>OnRoundFinished</td><td>When current round of the graph has finished</td></tr><tr><td>UnityEvent</td><td>OnAllRoundsFinished</td><td>When all rounds of the graph have been spawned</td></tr><tr><td>UnityEvent&#x3C;GameObject></td><td>OnEnemySpawn</td><td>Raised when spawns enemy. It has the enemy GameObject reference</td></tr></tbody></table>

### Public Methods

| [StartRound](/spawnertool/api/runtime/wavemanager/startround.md) | Starts a new round |
| ---------------------------------------------------------------- | ------------------ |
