🔧
SpawnerTool
API
API
  • API
  • Changelog
  • Runtime
    • SpawnPointsIDManager
      • GetSpawnPosition
      • TryGetSpawnPosition
    • WaveManager
      • StartRound
    • Timer
      • Timer
      • Tick
      • GetCountDownTimer
      • GetCountUpTimer
    • EnemySpawner
      • EnemySpawner
      • Tick
      • IsSpawnerFinished
  • Data
    • SpawnerGraph
      • GetAllRounds
      • GetSpawnEnemyDataByTime
      • ResetGraphState
      • ResetGraphRoundState
    • Round
    • SpawnEnemyData
    • EnemyFactory
      • GetIdToPrefab
      • GetEnemyPrefab
    • ProjectSettings
      • GetEnemyNames
      • GetEnemyColor
      • SetEnemyColor
  • Editor
    • Editor API
Powered by GitBook
On this page
  • Description
  • Properties
  • Events
  • Public Methods
  1. Runtime

WaveManager

class in SpawnerTool.Runtime | Inherits: MonoBehaviour

PreviousTryGetSpawnPositionNextStartRound

Last updated 3 years ago

Description

This component is the responsible for spawning enemies given a .

See for further details on how to use it.

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 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

SpawnerGraph
SpawnerGraph
SpawnPointsIDManager
SpawnPointsIDManager
StartRound
Wave Manager