One of two cannons sticking out of the player at 45 degrees(ish) that fire alternately. When firing the bullets look like they are traveling in a V.
More...
One of two cannons sticking out of the player at 45 degrees(ish) that fire alternately. When firing the bullets look like they are traveling in a V.
◆ AnimationFinished()
void CoopVShooterCannon.AnimationFinished |
( |
| ) |
|
The callback from the Unity Animator once an animation is finished.
◆ Awake()
void CoopVShooterCannon.Awake |
( |
| ) |
|
Set up references before they are used.
◆ DespawnCannon()
void CoopVShooterCannon.DespawnCannon |
( |
System.Action |
callback | ) |
|
Triggers the despawn animation in the animator.
- Parameters
-
callback | The function that should be notified when the despawn animation is finished. |
◆ FireCannon()
Trigger the fire animation and fire a bullet.
- Parameters
-
miniBall | The bullet that should be fired. |
◆ SpawnCannon()
void CoopVShooterCannon.SpawnCannon |
( |
System.Action |
callback | ) |
|
Triggers the spawn animation in the animator.
- Parameters
-
callback | The function that should be notified when the spawn animation is finished. |
◆ firePosition
Transform CoopVShooterCannon.firePosition |
The position the ball should be emitted at.
The documentation for this class was generated from the following file: