|
DoopelPonger
|
InputChecker to used to get a range of -1 to 1 based on user input. More...


Public Member Functions | |
| MovementInputChecker (InputManager.InputTriggerOption inputTriggerOption, InputActionMapper.Action positiveAction, InputActionMapper.Action negativeAction, InputManager.MovementTrigger trigger, string tag) | |
| override InputCheckerAction | GetCheckerAction () |
| Method called every Update tick to see if the inputTriggerOption should be actived. More... | |
| override string | GetIdentifierString () |
Public Member Functions inherited from InputChecker | |
| InputChecker (InputManager.InputTriggerOption inputTriggerOption, string tag) | |
Public Attributes | |
| readonly InputManager.MovementTrigger | trigger |
Public Attributes inherited from InputChecker | |
| readonly string | tag |
| readonly InputManager.InputTriggerOption | inputTriggerOption |
Additional Inherited Members | |
Protected Attributes inherited from InputChecker | |
| InputActionMapper | inputActionMapper |
InputChecker to used to get a range of -1 to 1 based on user input.
If no keys are pressed, 0 is sent to the listener. If the positive key is pressed 1 is sent and if the negative key is pressed -1 is sent. If both positive and negative are pressed then 0 is sent.
| MovementInputChecker.MovementInputChecker | ( | InputManager.InputTriggerOption | inputTriggerOption, |
| InputActionMapper.Action | positiveAction, | ||
| InputActionMapper.Action | negativeAction, | ||
| InputManager.MovementTrigger | trigger, | ||
| string | tag | ||
| ) |
|
virtual |
Method called every Update tick to see if the inputTriggerOption should be actived.
Implements InputChecker.
|
virtual |
Implements InputChecker.
| readonly InputManager.MovementTrigger MovementInputChecker.trigger |
The callback to be notified of the movement value.
1.8.14