DoopelPonger
Public Member Functions | List of all members
CoopPlayerLaserAnimator Class Reference

Class that handles setting the animation state in the Unity Animator for the laser power up. More...

Inheritance diagram for CoopPlayerLaserAnimator:
Inheritance graph
[legend]
Collaboration diagram for CoopPlayerLaserAnimator:
Collaboration graph
[legend]

Public Member Functions

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...
 

Detailed Description

Class that handles setting the animation state in the Unity Animator for the laser power up.

Member Function Documentation

◆ 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
callbackFunction 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
callbackFunction callback to be notified when the laser cannon has fully spawned.

The documentation for this class was generated from the following file: