![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
An animator that plays animations using the legacy 3D framework. More...
Public Member Functions | |
virtual void | Reset () |
Reset the animation state. More... | |
Public Attributes | |
LegacyAnimation[] | animationData |
List of animation states and animations. More... | |
Protected Member Functions | |
void | AnimationStateChanged (object sender, AnimationEventArgs args) |
Handles animation state changed. More... | |
Protected Attributes | |
IMob | myCharacter |
Cached reference to the character. More... | |
Animation | 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... | |
Queue< int > | queuedPriorities |
The queued states priority. More... | |
Dictionary< AnimationState, LegacyAnimation > | animationLookup |
States stored as dictionary for quicker lookup. More... | |
Properties | |
virtual Animator | Animator [get] |
Returns null as no animator is being used. More... | |
![]() | |
Animator | Animator [get] |
Gets the associated animator. Returns null if an animator is not being used. More... | |
An animator that plays animations using the legacy 3D framework.
|
protected |
Handles animation state changed.
sender | Sender. |
args | Arguments. |
|
virtual |
Reset the animation state.
Implements PlatformerPro.IAnimationBridge.
LegacyAnimation [] PlatformerPro.LegacyAnimationBridge.animationData |
List of animation states and animations.
|
protected |
States stored as dictionary for quicker lookup.
|
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 |
Returns null as no animator is being used.