Spawns enemies.
More...
|
virtual void | SpawnNow () |
| If this is not an auto spawner start spawning. More...
|
|
void | Start () |
| Unity Start hook. More...
|
|
virtual GameObject | GetInstance () |
| Gets an instance form the pool, or null if no instances available. More...
|
|
◆ DoSpawn()
virtual void PlatformerPro.Spawner.DoSpawn |
( |
| ) |
|
|
protectedvirtual |
◆ Init()
override void PlatformerPro.Spawner.Init |
( |
| ) |
|
|
protectedvirtual |
◆ Spawn()
virtual IEnumerator PlatformerPro.Spawner.Spawn |
( |
| ) |
|
|
protectedvirtual |
◆ SpawnNow()
virtual void PlatformerPro.Spawner.SpawnNow |
( |
| ) |
|
|
virtual |
If this is not an auto spawner start spawning.
◆ autoSpawn
bool PlatformerPro.Spawner.autoSpawn = true |
If true we spawn automatically. If false we wait until something calls us.
◆ delayOnFirstInstance
bool PlatformerPro.Spawner.delayOnFirstInstance |
If true the first instance will be delayed by the spawn rate, else it will spawn instantly.
◆ spawnAmount
int PlatformerPro.Spawner.spawnAmount |
How many objects to spawn, use -1 for infinite.
◆ spawnRate
float PlatformerPro.Spawner.spawnRate |
How fast should we spawn.
◆ spawnsRemaining
int PlatformerPro.Spawner.spawnsRemaining |
|
protected |
The documentation for this class was generated from the following file:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/Utility/Spawner.cs