C# Class WaveSpawner, Attack-on-Tapir

Inheritance: MonoBehaviour
Datei anzeigen Open project: cortexarts/Attack-on-Tapir Class Usage Examples

Public Properties

Property Type Description
spawnPoints Transform[]
timeBetweenWaves float
waves Wave[]

Public Methods

Method Description
SpawnEnemy ( Transform _enemy ) : void
Start ( ) : void
Update ( ) : void
WaveCompleted ( ) : void

Private Methods

Method Description
EnemyIsAlive ( ) : bool
SpawnWave ( Wave, _wave ) : IEnumerator

Method Details

SpawnEnemy() public method

public SpawnEnemy ( Transform _enemy ) : void
_enemy Transform
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WaveCompleted() public method

public WaveCompleted ( ) : void
return void

Property Details

spawnPoints public_oe property

public Transform[] spawnPoints
return Transform[]

timeBetweenWaves public_oe property

public float timeBetweenWaves
return float

waves public_oe property

public Wave[] waves
return Wave[]