Dynamic Water Physics 2
Search Results for

    Show / Hide Table of Contents

    Interface ShipInputActions.IShipControlsActions

    Interface to implement callback methods for all input action callbacks associated with input actions defined by "ShipControls" which allows adding and removing callbacks.

    Namespace: NWH.DWP2.ShipController
    Assembly: NWH.DWP2.dll
    Syntax
    public interface ShipInputActions.IShipControlsActions

    Methods

    | Edit this page View Source

    OnAnchor(CallbackContext)

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

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

    OnBowThruster(CallbackContext)

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

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

    OnEngineStartStop(CallbackContext)

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

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

    OnRotateSail(CallbackContext)

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

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

    OnSteering(CallbackContext)

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

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

    OnSternThruster(CallbackContext)

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

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

    OnSubmarineDepth(CallbackContext)

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

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

    OnThrottle(CallbackContext)

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

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

    OnThrottle2(CallbackContext)

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

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

    OnThrottle3(CallbackContext)

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

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

    OnThrottle4(CallbackContext)

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

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

    See Also

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