DaW API Reference


DaW is provided with access to some APIs that are necessary to get DaW working with any specific game setup. Use these to help further development.

void StartWave(int waveNumber)

Variables:
waveNumber - The wave number to call

Description:
Trigger a wave number to start playing. Waves can only be started when one is not currently in play.

Example:


_________________________________________________________________________________________

bool HasWaveCompleted(int waveNumber)

Variables:
waveNumber - The wave number to call

Description:
Check to see if/when a specific wave is completed

Example:


_________________________________________________________________________________________

void DeSpawner(GameObject theObject)

Variables:
theObject - The game object prefab to despawn

Description:
Despawns the enemy prefab to take it out of play

Example: