![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Bridge which plays animations from overrides. More...
Public Member Functions | |
virtual void | Reset () |
Reset the animation state. More... | |
Protected Member Functions | |
void | Init () |
Initialise this animation bridge. More... | |
virtual void | HandleGameUnPaused (object sender, System.EventArgs e) |
Handles the game being unpaused. More... | |
virtual void | HandleGamePaused (object sender, System.EventArgs e) |
Handles the game being paused. More... | |
void | AnimationStateChanged (object sender, AnimationEventArgs args) |
Handles animation state changed. More... | |
Protected Attributes | |
IMob | myCharacter |
Cached reference to the character. More... | |
Animator | myAnimator |
Cached reference to the animator. More... | |
string | currentOverride |
Stores currently playing override. More... | |
Properties | |
virtual Animator | Animator [get] |
Gets the associated animator. Returns null if an animator is not being used. More... | |
![]() | |
Animator | Animator [get] |
Gets the associated animator. Returns null if an animator is not being used. More... | |
Bridge which plays animations from overrides.
|
protected |
Handles animation state changed.
sender | Sender. |
args | Arguments. |
|
protectedvirtual |
Handles the game being paused.
sender | Sender. |
e | E. |
|
protectedvirtual |
Handles the game being unpaused.
sender | Sender. |
e | E. |
|
protected |
Initialise this animation bridge.
|
virtual |
Reset the animation state.
Implements PlatformerPro.IAnimationBridge.
|
protected |
Stores currently playing override.
|
protected |
Cached reference to the animator.
|
protected |
Cached reference to the character.
|
get |
Gets the associated animator. Returns null if an animator is not being used.
The animator.