Platformer Pro  2.3.2
A platform game kit for Unity.
CharacterSystem2D.SimpleCharacter Class Reference

A simple character which allows for animation switching only. More...

Inheritance diagram for CharacterSystem2D.SimpleCharacter:

Public Member Functions

void SwitchAnimation (string animationName)
 Switches the character current animation. More...
 

Public Attributes

Animator myAnimator
 

Protected Attributes

string currentAnimation
 
string queuedAnimation
 
bool hasPlayed
 

Detailed Description

A simple character which allows for animation switching only.

Member Function Documentation

◆ SwitchAnimation()

void CharacterSystem2D.SimpleCharacter.SwitchAnimation ( string  animationName)

Switches the character current animation.

Parameters
animationNameAnimation name.

Member Data Documentation

◆ currentAnimation

string CharacterSystem2D.SimpleCharacter.currentAnimation
protected

◆ hasPlayed

bool CharacterSystem2D.SimpleCharacter.hasPlayed
protected

◆ myAnimator

Animator CharacterSystem2D.SimpleCharacter.myAnimator

◆ queuedAnimation

string CharacterSystem2D.SimpleCharacter.queuedAnimation
protected

The documentation for this class was generated from the following file: