|
ActionDirector
1.0.0
The action director's cut for rapid actions integration
|
Setup actions on an input axis button. More...
Public Member Functions | |
| override void | Run () |
| override void | Step (float delta) |
| override void | Stop () |
Public Attributes | |
| Action | actionToRunNegative |
| Action | actionToRunPositive |
| Action | actionToRunIdle |
| bool | startOnEnable = false |
| string | inputName |
| bool | runNegativeOnce = false |
| bool | runPositiveOnce = false |
| bool | runIdleOnce = false |
Setup actions on an input axis button.
While this action is running, actions will be launch on input axis (Ex: Left right, up down, joystick arrows)
| Action ActionDirector.ActionAxisRunAction.actionToRunIdle |
Action to run when axis is idle (no axis)
| Action ActionDirector.ActionAxisRunAction.actionToRunNegative |
Action to run when axis is negative value
| Action ActionDirector.ActionAxisRunAction.actionToRunPositive |
Action to run when axis is positive value
| string ActionDirector.ActionAxisRunAction.inputName |
The name of the input from unity menu Edit -> Project Settings -> Input
| bool ActionDirector.ActionAxisRunAction.runIdleOnce = false |
Do we launch the action only one time when the value is equal to 0?
| bool ActionDirector.ActionAxisRunAction.runNegativeOnce = false |
Do we launch the action only one time when the value is under 0?
| bool ActionDirector.ActionAxisRunAction.runPositiveOnce = false |
Do we launch the action only one time when the value is over 0?
| bool ActionDirector.ActionAxisRunAction.startOnEnable = false |
Run the action immediately when GameObject is enabled?