Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.CharacterAnimation2DBehaviour Class Reference
Inheritance diagram for AC.CharacterAnimation2DBehaviour:

Public Member Functions

override void OnBehaviourPause (Playable playable, FrameData info)
 
void Init (PathSpeed _moveSpeed, bool _turnInstantly, bool _forceDirection, CharDirection _charDirection, CharacterAnimation2DShot _activeShot)
 
override void ProcessFrame (Playable playable, FrameData info, object playerData)
 

Protected Attributes

CharDirection charDirection
 
bool turnInstantly
 
CharacterAnimation2DShot activeShot
 
bool forceDirection
 
PathSpeed moveSpeed
 
Vector3 lastFramePosition
 
Char character
 

Detailed Description

A PlayableBehaviour that allows for automatic animation playback of sprite-based characters, according to how they are moving.