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.CorgiEngine.PathedProjectile.Initialize |
( |
Transform |
destination, |
|
|
float |
speed |
|
) |
| |
|
virtual |
Initializes the specified destination and speed.
- Parameters
-
destination | Destination. |
speed | Speed. |
◆ Update()
virtual void MoreMountains.CorgiEngine.PathedProjectile.Update |
( |
| ) |
|
|
protectedvirtual |
Every frame, me move the projectile's position to its destination
◆ _destination
Transform MoreMountains.CorgiEngine.PathedProjectile._destination |
|
protected |
the destination of the projectile
◆ _speed
float MoreMountains.CorgiEngine.PathedProjectile._speed |
|
protected |
◆ DestroyFeedbacks
MMFeedbacks MoreMountains.CorgiEngine.PathedProjectile.DestroyFeedbacks |
the MMFeedbacks to play when the object gets destroyed
The documentation for this class was generated from the following file: