Loading...
Searching...
No Matches
AdventureCore.PlayableAnimationPlayer Class Reference

Detailed Description

simple behaviour for playing a PlayableAnimation on a configurable animator
when no animator is set the player looks for an ICharacterAssociator in its parents

https://adventure.softleitner.com/manual/utilities

Inheritance diagram for AdventureCore.PlayableAnimationPlayer:
AdventureCore.IPlayAnimation

Public Member Functions

virtual void Play ()
 
virtual void Cancel ()
 
virtual void Stop ()
 
virtual void Destroy ()
 
virtual Animator GetTarget ()
 
virtual void SetTrigger (string name)
 
virtual void SetBool (string name, bool value)
 
virtual void SetInt (string name, int value)
 
virtual void SetFloat (string name, float value)
 
virtual void SetState (string name)
 
virtual void SetTrigger (int id)
 
virtual void SetBool (int id, bool value)
 
virtual void SetInt (int id, int value)
 
virtual void SetFloat (int id, float value)
 
virtual void SetState (int id)
 

Public Attributes

PlayableAnimationParameters Animation
 
Animator Target
 
CharacterBase Character
 
bool PlayOnAwake
 
UnityEvent Started
 
UnityEvent Finished
 

Protected Member Functions

virtual void onStarted (PlayableAnimation _)
 
virtual void onFinished (PlayableAnimation _)
 

Properties

PlayableAnimation PlayableAnimation [get]
 
Animator PlayableAnimationTarget [get]
 
bool IsPlaying [get]
 
- Properties inherited from AdventureCore.IPlayAnimation

Property Documentation

◆ PlayableAnimation

PlayableAnimation AdventureCore.PlayableAnimationPlayer.PlayableAnimation
get

◆ PlayableAnimationTarget

Animator AdventureCore.PlayableAnimationPlayer.PlayableAnimationTarget
get