![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
An animator that plays animations directly on a mecanim controller. Typically used for 2D sprites. More...
Public Member Functions | |
virtual void | Reset () |
Reset the animation state. More... | |
Public Attributes | |
List< AnimatorControllerMapping > | mappings |
Maps from states to animator overrides. 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 | |
Dictionary< string, AnimatorOverrideController > | animationStateOverrideLookup |
Lookup table of attack states to animator overrides. More... | |
RuntimeAnimatorController | defaultController |
Store default controller. More... | |
IMob | myCharacter |
Cached reference to the character. More... | |
Animator | myAnimator |
Cached reference to the animator. More... | |
AnimationState | state |
The state currently playing. More... | |
Queue< AnimationState > | queuedStates |
The animation state that should play next. More... | |
int | priority |
The current states priority. More... | |
PriorityQueue | queuedPriorities |
The queued states priority. More... | |
Properties | |
virtual Animator | Animator [get] |
![]() | |
Animator | Animator [get] |
Gets the associated animator. Returns null if an animator is not being used. More... | |
An animator that plays animations directly on a mecanim controller. Typically used for 2D sprites.
|
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 |
Lookup table of attack states to animator overrides.
|
protected |
Store default controller.
List<AnimatorControllerMapping> PlatformerPro.MecanimAnimationBridge_2D.mappings |
Maps from states to animator overrides.
|
protected |
Cached reference to the animator.
|
protected |
Cached reference to the character.
|
protected |
The current states priority.
|
protected |
The queued states priority.
|
protected |
The animation state that should play next.
|
protected |
The state currently playing.
|
get |