|
| | MenuInputsContainer (MonoBehaviour owner) |
| | - Parameters
-
| caller | The MonoBehaviour this input will belong to. Required to start coroutines. |
|
| |
|
| Action< Vector2 > | OnNavigate [add, remove] |
| | Called when a new cardinal or intercardinal direction is inputted, or spammed as a result of the input being held.
|
| |
| Action | OnConfirm [add, remove] |
| | Called when the Confirm input is performed.
|
| |
| Action | OnCancel [add, remove] |
| | Called when the Cancel input is performed.
|
| |
|
| IEnumerator | PollInputCoroutine () |
| | Repeatedly polls the navigateInputHandler to check if it should fire another input due to the input still being held.
|
| |
◆ MenuInputsContainer()
| Slasher.Input.MenuInputsContainer.MenuInputsContainer |
( |
MonoBehaviour | owner | ) |
|
- Parameters
-
| caller | The MonoBehaviour this input will belong to. Required to start coroutines. |
◆ PollInputCoroutine()
| IEnumerator Slasher.Input.MenuInputsContainer.PollInputCoroutine |
( |
| ) |
|
|
private |
Repeatedly polls the navigateInputHandler to check if it should fire another input due to the input still being held.
I hate having to do this so much but it is what it is
◆ ACTION_MAP_PATH
| const string Slasher.Input.MenuInputsContainer.ACTION_MAP_PATH = "Menu" |
|
staticprivate |
◆ cancelInputHandler
◆ confirmInputHandler
◆ handlersBuffer
◆ navigateInputHandler
◆ navigateListeners
| int Slasher.Input.MenuInputsContainer.navigateListeners |
|
private |
◆ owner
| MonoBehaviour Slasher.Input.MenuInputsContainer.owner |
|
private |
◆ handlers
◆ OnCancel
| Action Slasher.Input.MenuInputsContainer.OnCancel |
|
addremove |
Called when the Cancel input is performed.
◆ OnConfirm
| Action Slasher.Input.MenuInputsContainer.OnConfirm |
|
addremove |
Called when the Confirm input is performed.
◆ OnNavigate
| Action<Vector2> Slasher.Input.MenuInputsContainer.OnNavigate |
|
addremove |
Called when a new cardinal or intercardinal direction is inputted, or spammed as a result of the input being held.
The documentation for this class was generated from the following file: