Interfaces

IAplosConsoleInputActionMapHandler

Contract for a type that reacts to the console opening and closing, typically by enabling or disabling an input action map.

Namespace: AplosConsole.Input

Public methods

HandleConsoleOpen

Example

public void HandleConsoleOpen()
{
    _playerActions.Disable();
}

Description: Invoked when the console opens. Implementers typically use this to disable a gameplay input action map.


HandleConsoleClose

Example

public void HandleConsoleClose()
{
    _playerActions.Enable();
}

Description: Invoked when the console closes. Implementers typically use this to re-enable a gameplay input action map.


IAplosConsoleInputAdapter

Contract for an input adapter that binds to the console's input handling. Extends IAplosConsoleInputActionMapHandler with lifecycle methods for wiring up and tearing down against an IConsoleInputProvider.

Namespace: AplosConsole.Input
Extends: IAplosConsoleInputActionMapHandler

Public methods

Initialise

Parameters:

Example

adapter.Initialise(AplosConsole.Instance);

Description: Wires the adapter up to the given console input provider, ready to forward input to it.


Dispose

Example

adapter.Dispose();

Description: Tears down the adapter, releasing any resources or bindings it holds.