Class that handles setting the animation state in the Unity Animator for the laser power up.
More...
|
void | Awake () |
| Initialize references needed by the laser animator. More...
|
|
void | SpawnLaser (System.Action callback) |
| Tell the animator to spawn the laser. More...
|
|
void | DespawnLaser (System.Action callback) |
| Tell the animator to despawn the laser. More...
|
|
void | FireLaser () |
| Tell the animator to play cannon firing animation. More...
|
|
void | AnimationFinished () |
| Callback from the Unity Animator that says the triggered animation is finished. More...
|
|
Class that handles setting the animation state in the Unity Animator for the laser power up.
◆ AnimationFinished()
void CoopPlayerLaserAnimator.AnimationFinished |
( |
| ) |
|
Callback from the Unity Animator that says the triggered animation is finished.
◆ Awake()
void CoopPlayerLaserAnimator.Awake |
( |
| ) |
|
Initialize references needed by the laser animator.
◆ DespawnLaser()
void CoopPlayerLaserAnimator.DespawnLaser |
( |
System.Action |
callback | ) |
|
Tell the animator to despawn the laser.
- Parameters
-
callback | Function callback to be notified when the laser cannon has fully despawned. |
◆ FireLaser()
void CoopPlayerLaserAnimator.FireLaser |
( |
| ) |
|
Tell the animator to play cannon firing animation.
◆ SpawnLaser()
void CoopPlayerLaserAnimator.SpawnLaser |
( |
System.Action |
callback | ) |
|
Tell the animator to spawn the laser.
- Parameters
-
callback | Function callback to be notified when the laser cannon has fully spawned. |
The documentation for this class was generated from the following file: