Corgi Engine
v9.1
|
Spawns pathed projectiles More...
Public Member Functions | |
virtual void | OnDrawGizmos () |
Debug mode More... | |
Public Attributes | |
Transform | Destination |
the pathed projectile's destination More... | |
PathedProjectile | Projectile |
the projectiles to spawn More... | |
GameObject | SpawnEffect |
the effect to instantiate at each spawn More... | |
float | Speed |
the speed of the projectiles More... | |
float | FireRate |
the frequency of the spawns More... | |
Protected Member Functions | |
virtual void | Start () |
Initialization More... | |
virtual void | Update () |
Every frame, we check if we need to instantiate a new projectile More... | |
Protected Attributes | |
float | _nextShotInSeconds |
Spawns pathed projectiles
|
virtual |
Debug mode
|
protectedvirtual |
Initialization
|
protectedvirtual |
Every frame, we check if we need to instantiate a new projectile
|
protected |
Transform MoreMountains.CorgiEngine.PathedProjectileSpawner.Destination |
the pathed projectile's destination
float MoreMountains.CorgiEngine.PathedProjectileSpawner.FireRate |
the frequency of the spawns
PathedProjectile MoreMountains.CorgiEngine.PathedProjectileSpawner.Projectile |
the projectiles to spawn
GameObject MoreMountains.CorgiEngine.PathedProjectileSpawner.SpawnEffect |
the effect to instantiate at each spawn
float MoreMountains.CorgiEngine.PathedProjectileSpawner.Speed |
the speed of the projectiles