This class handles the movement of a pathed projectile
More...
|
virtual void | Initialize (Transform destination, float speed) |
| Initializes the specified destination and speed. More...
|
|
|
virtual void | Update () |
| Every frame, me move the projectile's position to its destination More...
|
|
This class handles the movement of a pathed projectile
◆ Initialize()
virtual void MoreMountains.TopDownEngine.PathedProjectile.Initialize |
( |
Transform |
destination, |
|
|
float |
speed |
|
) |
| |
|
virtual |
Initializes the specified destination and speed.
- Parameters
-
destination | Destination. |
speed | Speed. |
◆ Update()
virtual void MoreMountains.TopDownEngine.PathedProjectile.Update |
( |
| ) |
|
|
protectedvirtual |
Every frame, me move the projectile's position to its destination
◆ _destination
Transform MoreMountains.TopDownEngine.PathedProjectile._destination |
|
protected |
the destination of the projectile
◆ _speed
float MoreMountains.TopDownEngine.PathedProjectile._speed |
|
protected |
◆ DestroyEffect
GameObject MoreMountains.TopDownEngine.PathedProjectile.DestroyEffect |
The effect to instantiate when the object gets destroyed.
The documentation for this class was generated from the following file:
- F:/Github/Store/TopDownEngine/Assets/TopDownEngine/Common/Scripts/Characters/AI/Automation/PathedProjectile.cs