Namespace NWH.Common.Input
Classes
InputManagerSceneInputProvider
Scene input provider using Unity's legacy Input Manager system. Requires input axes and buttons to be configured in Project Settings > Input Manager.
InputProvider
Base class from which all input providers inherit.
InputSystemSceneInputProvider
Unity Input System implementation of scene input provider. Handles camera controls and scene navigation using the new Input System.
InputUtils
Utility methods for safe input retrieval with automatic fallback to default keys. Prevents errors when Input Manager bindings are missing.
MobileInputButton
Extended Unity UI Button with state tracking for mobile input handling. Provides hasBeenClicked and isPressed flags for easier input polling.
MobileSceneInputProvider
Scene input provider for mobile platforms using on-screen UI buttons. Requires MobileInputButton components assigned to changeCameraButton and changeVehicleButton fields.
SceneInputActions
Provides programmatic access to UnityEngine.InputSystem.InputActionAsset, UnityEngine.InputSystem.InputActionMap, UnityEngine.InputSystem.InputAction and UnityEngine.InputSystem.InputControlScheme instances defined in asset "Packages/com.nwh.common/Runtime/Input/InputSystem/SceneInputActions.inputactions".
SceneInputProviderBase
InputProvider for scene and camera related behavior.
Structs
SceneInputActions.CameraControlsActions
Provides access to input actions defined in input action map "CameraControls".
SceneInputActions.SceneControlsActions
Provides access to input actions defined in input action map "SceneControls".
Interfaces
SceneInputActions.ICameraControlsActions
Interface to implement callback methods for all input action callbacks associated with input actions defined by "CameraControls" which allows adding and removing callbacks.
SceneInputActions.ISceneControlsActions
Interface to implement callback methods for all input action callbacks associated with input actions defined by "SceneControls" which allows adding and removing callbacks.