Handles the state management of the Unity Animator for the vomit power up.
More...
|
| void | Awake () |
| | Initializes the references needed. More...
|
| |
| void | SpawnMouth () |
| | Triggers the animation to spawn the mouth of the cannon. More...
|
| |
| void | FireMouth (System.Action animationFinishedCallback) |
| | Triggers the animation to show the mouth has fired a bunch of balls. More...
|
| |
| void | DespawnMouth (System.Action animationFinishedCallback) |
| | Triggers the animation to despawn the mouth. More...
|
| |
| void | AnimationFinished () |
| | Callback from the Unity Animator when an animation is finished. More...
|
| |
Handles the state management of the Unity Animator for the vomit power up.
◆ AnimationFinished()
| void CoopPlayerVomitAnimator.AnimationFinished |
( |
| ) |
|
Callback from the Unity Animator when an animation is finished.
◆ Awake()
| void CoopPlayerVomitAnimator.Awake |
( |
| ) |
|
Initializes the references needed.
◆ DespawnMouth()
| void CoopPlayerVomitAnimator.DespawnMouth |
( |
System.Action |
animationFinishedCallback | ) |
|
Triggers the animation to despawn the mouth.
- Parameters
-
| animationFinishedCallback | Function to be notified when the despawn animation is finished. |
◆ FireMouth()
| void CoopPlayerVomitAnimator.FireMouth |
( |
System.Action |
animationFinishedCallback | ) |
|
Triggers the animation to show the mouth has fired a bunch of balls.
- Parameters
-
| animationFinishedCallback | Function to be notified when the fire animation is finished. |
◆ SpawnMouth()
| void CoopPlayerVomitAnimator.SpawnMouth |
( |
| ) |
|
Triggers the animation to spawn the mouth of the cannon.
The documentation for this class was generated from the following file: