TopDown Engine  v3.6
MoreMountains.TopDownEngine.PathedProjectileSpawner Class Reference

Spawns pathed projectiles More...

Inheritance diagram for MoreMountains.TopDownEngine.PathedProjectileSpawner:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

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
 

Detailed Description

Spawns pathed projectiles

Member Function Documentation

◆ OnDrawGizmos()

virtual void MoreMountains.TopDownEngine.PathedProjectileSpawner.OnDrawGizmos ( )
virtual

Debug mode

◆ Start()

virtual void MoreMountains.TopDownEngine.PathedProjectileSpawner.Start ( )
protectedvirtual

Initialization

◆ Update()

virtual void MoreMountains.TopDownEngine.PathedProjectileSpawner.Update ( )
protectedvirtual

Every frame, we check if we need to instantiate a new projectile

Member Data Documentation

◆ _nextShotInSeconds

float MoreMountains.TopDownEngine.PathedProjectileSpawner._nextShotInSeconds
protected

◆ Destination

Transform MoreMountains.TopDownEngine.PathedProjectileSpawner.Destination

the pathed projectile's destination

◆ FireRate

float MoreMountains.TopDownEngine.PathedProjectileSpawner.FireRate

the frequency of the spawns

◆ Projectile

PathedProjectile MoreMountains.TopDownEngine.PathedProjectileSpawner.Projectile

the projectiles to spawn

◆ SpawnEffect

GameObject MoreMountains.TopDownEngine.PathedProjectileSpawner.SpawnEffect

the effect to instantiate at each spawn

◆ Speed

float MoreMountains.TopDownEngine.PathedProjectileSpawner.Speed

the speed of the projectiles


The documentation for this class was generated from the following file: