Pokemon Unity
A pokemon clone made using Unity
|
The CharacterAnimator class manages all character animations More...
Public Member Functions | |
void | Start () |
void | Update () |
void | SetFacingDirection (FacingDirection dir) |
Set the facing direction for the animator More... | |
Properties | |
float | MoveX [get, set] |
The current moveX of this animator More... | |
float | MoveY [get, set] |
The current moveY of this animator More... | |
bool | IsMoving [get, set] |
Whether or not the animator is currently in the moving state More... | |
FacingDirection | DefaultDirection [get] |
The default direction of the animator More... | |
The CharacterAnimator class manages all character animations
Definition at line 9 of file CharacterAnimator.cs.
void CharacterAnimator.SetFacingDirection | ( | FacingDirection | dir | ) |
Set the facing direction for the animator
dir | The direction to face |
Definition at line 80 of file CharacterAnimator.cs.
void CharacterAnimator.Start | ( | ) |
Definition at line 40 of file CharacterAnimator.cs.
void CharacterAnimator.Update | ( | ) |
Definition at line 53 of file CharacterAnimator.cs.
|
get |
The default direction of the animator
Definition at line 25 of file CharacterAnimator.cs.
|
getset |
Whether or not the animator is currently in the moving state
Definition at line 22 of file CharacterAnimator.cs.
|
getset |
The current moveX of this animator
Definition at line 18 of file CharacterAnimator.cs.
|
getset |
The current moveY of this animator
Definition at line 20 of file CharacterAnimator.cs.