This class is used to listen to key events in a Triggered Spawner. Always make a subclass so you can have different Listeners for different Triggered Spawners.
More...
|
virtual void | EventPropagating (TriggeredSpawner.EventType eType, Transform transmitterTrans, int receiverSpawnerCount) |
| This method gets calls when a spawner gets ready to call events on child spawners. Override if you need custom logic. More...
|
|
virtual void | PropagatedEventReceived (TriggeredSpawner.EventType eType, Transform transmitterTrans) |
| This method gets calls when a child spawner gets notified to call its wave from a parent spawner. Override if you need custom logic. More...
|
|
virtual void | WaveEndedEarly (TriggeredSpawner.EventType eType) |
| This method gets called if the wave ends early. More...
|
|
virtual void | PropagatedWaveEndedEarly (TriggeredSpawner.EventType eType, string customEventName, Transform transmitterTrans, int receiverSpawnerCount) |
| This method gets called if a parent spawner's wave ends early, to cancel the child spawners' waves as well. More...
|
|
virtual void | ItemFailedToSpawn (TriggeredSpawner.EventType eType, Transform failedPrefabTrans) |
| This method gets called if a wave item fails to spawn. More...
|
|
virtual void | ItemSpawned (TriggeredSpawner.EventType eType, Transform spawnedTrans) |
| This method gets called immediately after a wave item spawns. More...
|
|
virtual void | WaveFinishedSpawning (TriggeredSpawner.EventType eType, TriggeredWaveSpecifics spec) |
| This method gets called after the last item in a wave has finished spawning. More...
|
|
virtual void | WaveEliminated (TriggeredSpawner.EventType eType, TriggeredWaveSpecifics spec) |
| This method gets called after the last item in a wave has been despawned. More...
|
|
virtual void | WaveStart (TriggeredSpawner.EventType eType, TriggeredWaveSpecifics spec) |
| This method gets called when the wave is about to start spawning. More...
|
|
virtual void | WaveRepeat (TriggeredSpawner.EventType eType, TriggeredWaveSpecifics spec) |
| This method gets called each time the wave is about to repeat. More...
|
|
virtual void | SpawnerDespawning (Transform transDespawning) |
| This method gets called when a spawner is about to despawn (optional). More...
|
|
virtual void | CustomEventReceived (string customEventName, Vector3 eventOrigin) |
| This method gets called when a Custom Event is received by the Triggered Spawner. This only happens if the Triggered Spawner has configured a wave for that Custom Event. More...
|
|
virtual void | Spawned (MonoBehaviour spawner) |
| This method gets called when the Triggered Spawner is spawned. More...
|
|
virtual void | Despawned (MonoBehaviour spawner) |
| This method gets called when the Triggered Spawner is about to despawn. More...
|
|
This class is used to listen to key events in a Triggered Spawner. Always make a subclass so you can have different Listeners for different Triggered Spawners.