This class is a MonoBehaviour used to manage state machine controller and give access data within it.
Type | Name | Description |
---|---|---|
FSMC_Controller | StateMachine | Refference to a runtime copy of currently managed state machine. Setting this at runtime will create a copy of given controller to use. |
Type | Name | Parameters | Description |
---|---|---|---|
void | SetFloat | string name, float value | Setter for a float parameter using name |
void | SetFloat | int id, float value | Setter for a float parameter using hash |
float | GetFloat | string name | Getter for a float parameter using name |
float | GetFloat | int id | Getter for a float parameter using hash |
void | SetInt | string name, int value | Setter for a int parameter using name |
void | SetInt | int id, int value | Setter for a int parameter using hash |
int | GetInt | string name | Getter for a int parameter using name |
int | GetInt | int id | Getter for a int parameter using hash |
void | SetBool | string name, bool value | Setter for a bool parameter using name |
void | SetBool | int id, bool value | Setter for a bool parameter using hash |
bool | GetBool | string name | Getter for a bool parameter using name |
bool | GetBool | int id | Getter for a bool parameter using hash |
void | SetTrigger | string name | Setter for a trigger parameter using name |
void | SetTrigger | int id | Setter for a trigger parameter using hash |
FSMC_State | GetCurrentState | Returns currently active state in managed state machine controller | |
FSMC_State | GetState | string name | Returns state with a given name in managed state machine controller, or null if name doesn't match any state |
void | SetState | string name | Forces state machine to transition to a state with a given name |