![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Animation event arguments. More...
Public Member Functions | |
AnimationEventArgs (AnimationState state, AnimationState previousState, string overrideState) | |
Initializes a new instance of the AnimationEventArgs class. More... | |
virtual void | UpdateAnimationEventArgs (AnimationState state, AnimationState previousState, string overrideState) |
Updates the animation event arguments. More... | |
virtual void | UpdateAnimationEventArgs (AnimationState state, AnimationState previousState, string overrideState, int priority) |
Updates the animation event arguments. More... | |
virtual void | UpdateAnimationOverrideState (string overrideState) |
Updates the animation override state. More... | |
Properties | |
AnimationState | State [get, protected set] |
Gets the animation state. More... | |
AnimationState | PreviousState [get, protected set] |
Gets the previous animation state. More... | |
string | OverrideState [get, protected set] |
Gets the animation override state which can be maintained separately from base state and can be used for animation overrides like shooting or carrying. More... | |
int | Priority [get, protected set] |
Gets the animation priority. An animation with a higher priority will not be interrupted mid-loop by an animation with a lower priority. More... | |
Animation event arguments.
PlatformerPro.AnimationEventArgs.AnimationEventArgs | ( | AnimationState | state, |
AnimationState | previousState, | ||
string | overrideState | ||
) |
Initializes a new instance of the AnimationEventArgs class.
state | Current state. |
previousState | Previous state. |
overrideState | Override state. |
|
virtual |
Updates the animation event arguments.
state | State. |
previousState | Previous state. |
overrideState | Override State. |
|
virtual |
Updates the animation event arguments.
state | State. |
previousState | Previous state. |
overrideState | Override State. |
priority | Priority of the animation. |
|
virtual |
Updates the animation override state.
overrideState | Override State |
|
getprotected set |
Gets the animation override state which can be maintained separately from base state and can be used for animation overrides like shooting or carrying.
|
getprotected set |
Gets the previous animation state.
The state of the previous.
|
getprotected set |
Gets the animation priority. An animation with a higher priority will not be interrupted mid-loop by an animation with a lower priority.
|
getprotected set |
Gets the animation state.