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

Detailed Description

behaviour that moves an animator between two states
GoA,GoB or Toggle has to be called by somthing else like a TriggerArea<TArea, TItem> or a ButtonAction
useful for things like moving platforms and elevator(in combination with a CharacterCarrierArea)

https://adventure.softleitner.com/manual

Inheritance diagram for AdventureCore.AnimationToggler:

Public Types

enum  TogglerState { A , GoingB , B , GoingA }
 

Public Member Functions

void SetA ()
 
void SetB ()
 
void GoA ()
 
void GoB ()
 
void Toggle ()
 

Public Attributes

PersisterBase Persister
 
Animator Animator
 
string TriggerA
 
string TriggerB
 
string StateA
 
string StateB
 
UnityEvent< bool > IsMovingChanged
 

Properties

bool IsMoving [get]