🔧
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
  • Events
  • Public Methods
  1. Runtime

EnemySpawner

class in SpawnerTool.Runtime

PreviousGetCountUpTimerNextEnemySpawner

Last updated 3 years ago

Description

Controls when to spawn enemies given SpawnEnemyData

Events

event Action<string, int>

OnSpawnEnemy

Fired when enemy has to spawn.

String: enemyType

int: spawn position ID.

Public Methods

EnemySpawner constructor

Updates Timer to control when to spawn enmies

Returns whether spawner has already spawned all enemies.

EnemySpawner
Tick
IsSpawnerFinished