|
ActionAdventureKit 1.9.3
|
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)
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] |