Class to control the size of the boomerang as it gets thrown.
More...
|
void | Awake () |
| Initialize the Unity Animator. More...
|
|
void | Init () |
| Initialize all variables in the animator, so that animations can start fresh. More...
|
|
void | Despawn (System.Action despawnFinishedAction) |
| The boomerang should have its size decrease. More...
|
|
void | StartAnimation () |
| Start the boomerang throw animation. More...
|
|
void | FixedUpdate () |
| Update the animation timer and notify the function pointer when the animtations are finished. More...
|
|
Class to control the size of the boomerang as it gets thrown.
◆ Awake()
void CoopBoomerangAnimator.Awake |
( |
| ) |
|
Initialize the Unity Animator.
◆ Despawn()
void CoopBoomerangAnimator.Despawn |
( |
System.Action |
despawnFinishedAction | ) |
|
The boomerang should have its size decrease.
- Parameters
-
despawnFinishedAction | The callback to trigger once the boomerang is no longer visible. |
◆ FixedUpdate()
void CoopBoomerangAnimator.FixedUpdate |
( |
| ) |
|
Update the animation timer and notify the function pointer when the animtations are finished.
◆ Init()
void CoopBoomerangAnimator.Init |
( |
| ) |
|
Initialize all variables in the animator, so that animations can start fresh.
◆ StartAnimation()
void CoopBoomerangAnimator.StartAnimation |
( |
| ) |
|
Start the boomerang throw animation.
◆ timeToFullSpawnSize
float CoopBoomerangAnimator.timeToFullSpawnSize |
The amount of time it takes to despawn the boomerang.
◆ timeToFullThrowSize
float CoopBoomerangAnimator.timeToFullThrowSize |
The amount of time it takes to get to the full size.
The documentation for this class was generated from the following file: