Antura  1.1.0
Antura.Dog.AnturaAnimationController Class Reference

Handles the animations of Antura. More...

Inheritance diagram for Antura.Dog.AnturaAnimationController:

Public Member Functions

void SetWalkingSpeed (float speed=WALKING_SPEED)
 
void DoSniff (System.Action onSniffEnded=null, System.Action onSniffStarted=null)
 
void DoShout (System.Action onShoutStarted=null)
 
void DoBurp ()
 
void DoBite (System.Action onGrabbed=null)
 
void DoSpit (bool openMouth)
 
void DoSmallJumpAndGrab (System.Action onGrabbed=null)
 
void OnJumpStart ()
 
void OnJumpGrab ()
 
void OnJumpMaximumHeightReached ()
 
void OnJumpEnded ()
 
void DoCharge (System.Action onChargeEnded)
 Do an angry charge. The Dog makes an angry charging animation (it must stay in the same position during this animation); IsAngry is set to true automatically (needed to use the angry run). After such animation ends, onChargeEnded will be called to inform you, and passes automatically into running state. You should use onChargeEnded to understand when you should begin to move the antura's transform. More...
 
void OnSlipStarted ()
 
void OnSlipEnded ()
 

Public Attributes

const float WALKING_SPEED = 0.0f
 
const float RUN_SPEED = 1.0f
 

Properties

AnturaAnimationStates State [get, set]
 
bool IsJumping [get]
 
float WalkingSpeed [get, set]
 
bool IsAngry [get, set]
 
bool IsExcited [get, set]
 
bool IsSad [get, set]
 
bool IsAnimationActuallyWalking [get]
 
bool IsAnimationActuallyJumping [get]
 

Detailed Description

Handles the animations of Antura.

Member Function Documentation

◆ DoBite()

void Antura.Dog.AnturaAnimationController.DoBite ( System.Action  onGrabbed = null)

◆ DoBurp()

void Antura.Dog.AnturaAnimationController.DoBurp ( )

◆ DoCharge()

void Antura.Dog.AnturaAnimationController.DoCharge ( System.Action  onChargeEnded)

Do an angry charge. The Dog makes an angry charging animation (it must stay in the same position during this animation); IsAngry is set to true automatically (needed to use the angry run). After such animation ends, onChargeEnded will be called to inform you, and passes automatically into running state. You should use onChargeEnded to understand when you should begin to move the antura's transform.

◆ DoShout()

void Antura.Dog.AnturaAnimationController.DoShout ( System.Action  onShoutStarted = null)

◆ DoSmallJumpAndGrab()

void Antura.Dog.AnturaAnimationController.DoSmallJumpAndGrab ( System.Action  onGrabbed = null)

◆ DoSniff()

void Antura.Dog.AnturaAnimationController.DoSniff ( System.Action  onSniffEnded = null,
System.Action  onSniffStarted = null 
)

◆ DoSpit()

void Antura.Dog.AnturaAnimationController.DoSpit ( bool  openMouth)

◆ OnJumpEnded()

void Antura.Dog.AnturaAnimationController.OnJumpEnded ( )

◆ OnJumpGrab()

void Antura.Dog.AnturaAnimationController.OnJumpGrab ( )

◆ OnJumpMaximumHeightReached()

void Antura.Dog.AnturaAnimationController.OnJumpMaximumHeightReached ( )

◆ OnJumpStart()

void Antura.Dog.AnturaAnimationController.OnJumpStart ( )

◆ OnSlipEnded()

void Antura.Dog.AnturaAnimationController.OnSlipEnded ( )

◆ OnSlipStarted()

void Antura.Dog.AnturaAnimationController.OnSlipStarted ( )

◆ SetWalkingSpeed()

void Antura.Dog.AnturaAnimationController.SetWalkingSpeed ( float  speed = WALKING_SPEED)

Member Data Documentation

◆ RUN_SPEED

const float Antura.Dog.AnturaAnimationController.RUN_SPEED = 1.0f

◆ WALKING_SPEED

const float Antura.Dog.AnturaAnimationController.WALKING_SPEED = 0.0f

Property Documentation

◆ IsAngry

bool Antura.Dog.AnturaAnimationController.IsAngry
getset

◆ IsAnimationActuallyJumping

bool Antura.Dog.AnturaAnimationController.IsAnimationActuallyJumping
get

◆ IsAnimationActuallyWalking

bool Antura.Dog.AnturaAnimationController.IsAnimationActuallyWalking
get

◆ IsExcited

bool Antura.Dog.AnturaAnimationController.IsExcited
getset

◆ IsJumping

bool Antura.Dog.AnturaAnimationController.IsJumping
get

◆ IsSad

bool Antura.Dog.AnturaAnimationController.IsSad
getset

◆ State

AnturaAnimationStates Antura.Dog.AnturaAnimationController.State
getset

◆ WalkingSpeed

float Antura.Dog.AnturaAnimationController.WalkingSpeed
getset

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