Struct SceneInputActions.SceneControlsActions
Provides access to input actions defined in input action map "SceneControls".
Namespace: NWH.Common.Input
Assembly: NWH.Common.dll
Syntax
public struct SceneInputActions.SceneControlsActions
Constructors
| Edit this page View SourceSceneControlsActions(SceneInputActions)
Construct a new instance of the input action map wrapper class.
Declaration
public SceneControlsActions(SceneInputActions wrapper)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneInputActions | wrapper |
Properties
| Edit this page View SourceChangeVehicle
Provides access to the underlying input action "SceneControls/ChangeVehicle".
Declaration
public InputAction ChangeVehicle { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
DragObjectModifier
Provides access to the underlying input action "SceneControls/DragObjectModifier".
Declaration
public InputAction DragObjectModifier { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
FPSMovement
Provides access to the underlying input action "SceneControls/FPSMovement".
Declaration
public InputAction FPSMovement { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ShowCursor
Provides access to the underlying input action "SceneControls/ShowCursor".
Declaration
public InputAction ShowCursor { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
ToggleGUI
Provides access to the underlying input action "SceneControls/ToggleGUI".
Declaration
public InputAction ToggleGUI { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
enabled
Declaration
public bool enabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceAddCallbacks(ISceneControlsActions)
Adds UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed and UnityEngine.InputSystem.InputAction.canceled callbacks provided via on all input actions contained in this map.
Declaration
public void AddCallbacks(SceneInputActions.ISceneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneInputActions.ISceneControlsActions | instance | Callback instance. |
Remarks
If instance is null or instance have already been added this method does nothing.
See Also
| Edit this page View SourceDisable()
Declaration
public void Disable()
Enable()
Declaration
public void Enable()
Get()
Provides access to the underlying input action map instance.
Declaration
public InputActionMap Get()
Returns
| Type | Description |
|---|---|
| InputActionMap |
RemoveCallbacks(ISceneControlsActions)
Unregisters and unregisters all input action callbacks via UnregisterCallbacks(ISceneControlsActions).
Declaration
public void RemoveCallbacks(SceneInputActions.ISceneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneInputActions.ISceneControlsActions | instance |
See Also
| Edit this page View SourceSetCallbacks(ISceneControlsActions)
Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
Declaration
public void SetCallbacks(SceneInputActions.ISceneControlsActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneInputActions.ISceneControlsActions | instance |
Remarks
If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.
See Also
Operators
| Edit this page View Sourceimplicit operator InputActionMap(SceneControlsActions)
Implicitly converts an
Declaration
public static implicit operator InputActionMap(SceneInputActions.SceneControlsActions set)
Parameters
| Type | Name | Description |
|---|---|---|
| SceneInputActions.SceneControlsActions | set |
Returns
| Type | Description |
|---|---|
| InputActionMap |