DoopelPonger
|
Animation component that will take the state changes of Schmitty Doop and pass them on to the animators that will actually be animating. More...
Public Types | |
enum | AnimatorState { AnimatorState.FIRE_EARS, AnimatorState.FIRE_MOUTH, AnimatorState.HIT, AnimatorState.IDLE, AnimatorState.SPAWN } |
The action Schmitty Doop is performing. More... | |
Public Member Functions | |
void | ChangeAnimatorState (AnimatorState newState) |
Let the animators know to perform a new animation. More... | |
void | Spawn (System.Action callback) |
Perform the spawn animations on the animators. More... | |
Public Attributes | |
float | waitTimeBeforeTriggeringSpawn |
float | waitTimeAfterTriggeringSpawn |
CoopSchmittyDoopAnimator [] | animators |
Animation component that will take the state changes of Schmitty Doop and pass them on to the animators that will actually be animating.
|
strong |
void CoopSchmittyDoopAnimatorController.ChangeAnimatorState | ( | AnimatorState | newState | ) |
Let the animators know to perform a new animation.
newState | The state Schmitty Doop is now in. |
void CoopSchmittyDoopAnimatorController.Spawn | ( | System.Action | callback | ) |
Perform the spawn animations on the animators.
callback | The function that should be notified once all the animations have most likely completed. In reality, it gets called after waitTimeAfterTriggeringSpawn. |
CoopSchmittyDoopAnimator [] CoopSchmittyDoopAnimatorController.animators |
The list of animators that need to be notified of animation state changes.
float CoopSchmittyDoopAnimatorController.waitTimeAfterTriggeringSpawn |
The time to wait after letting the animators know that Schmitty Doop has spawned and before calling the callback to let the listener know the spawn animation is complete.
float CoopSchmittyDoopAnimatorController.waitTimeBeforeTriggeringSpawn |
The time to wait before letting the animators know that Schmitty Doop has spawned.