NWH Common
Search Results for

    Show / Hide Table of Contents

    Interface 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.

    Namespace: NWH.Common.Input
    Assembly: NWH.Common.dll
    Syntax
    public interface SceneInputActions.ISceneControlsActions

    Methods

    | Edit this page View Source

    OnChangeVehicle(CallbackContext)

    Method invoked when associated input action "ChangeVehicle" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.

    Declaration
    void OnChangeVehicle(InputAction.CallbackContext context)
    Parameters
    Type Name Description
    InputAction.CallbackContext context
    See Also
    started
    performed
    canceled
    | Edit this page View Source

    OnDragObjectModifier(CallbackContext)

    Method invoked when associated input action "DragObjectModifier" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.

    Declaration
    void OnDragObjectModifier(InputAction.CallbackContext context)
    Parameters
    Type Name Description
    InputAction.CallbackContext context
    See Also
    started
    performed
    canceled
    | Edit this page View Source

    OnFPSMovement(CallbackContext)

    Method invoked when associated input action "FPSMovement" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.

    Declaration
    void OnFPSMovement(InputAction.CallbackContext context)
    Parameters
    Type Name Description
    InputAction.CallbackContext context
    See Also
    started
    performed
    canceled
    | Edit this page View Source

    OnShowCursor(CallbackContext)

    Method invoked when associated input action "ShowCursor" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.

    Declaration
    void OnShowCursor(InputAction.CallbackContext context)
    Parameters
    Type Name Description
    InputAction.CallbackContext context
    See Also
    started
    performed
    canceled
    | Edit this page View Source

    OnToggleGUI(CallbackContext)

    Method invoked when associated input action "ToggleGUI" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.

    Declaration
    void OnToggleGUI(InputAction.CallbackContext context)
    Parameters
    Type Name Description
    InputAction.CallbackContext context
    See Also
    started
    performed
    canceled

    See Also

    AddCallbacks(ISceneControlsActions)
    RemoveCallbacks(ISceneControlsActions)
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics