![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
An 'animator' that plays animations when the character enters certain states. More...
Public Member Functions | |
void | Reset () |
Called when the animator is changed. More... | |
Public Attributes | |
List< ParticleEffectMapping > | mappings |
Maps from states to animator overrides. More... | |
Protected Member Functions | |
void | Init () |
Initialise this animation bridge. More... | |
void | AnimationStateChanged (object sender, AnimationEventArgs args) |
Handles animation state changed. More... | |
void | DoPlay (ParticleEffectMapping p) |
Plays the particle effect More... | |
IEnumerator | RepeatEffect (ParticleEffectMapping p) |
Play the sound at an interval. More... | |
Protected Attributes | |
IMob | myCharacter |
Cached reference to the character. More... | |
Properties | |
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... | |
An 'animator' that plays animations when the character enters certain states.
|
protected |
Handles animation state changed.
sender | Sender. |
args | Arguments. |
|
protected |
Plays the particle effect
|
protected |
Initialise this animation bridge.
|
protected |
Play the sound at an interval.
void PlatformerPro.ParticleEffect_Bridge.Reset | ( | ) |
Called when the animator is changed.
Implements PlatformerPro.IAnimationBridge.
List<ParticleEffectMapping> PlatformerPro.ParticleEffect_Bridge.mappings |
Maps from states to animator overrides.
|
protected |
Cached reference to the character.
|
get |
Gets the associated animator. Returns null if an animator is not being used.