NWH Wheel Controller 3D
Search Results for

    Show / Hide Table of Contents

    Struct CarInputActions.CarControlsActions

    Provides access to input actions defined in input action map "CarControls".

    Namespace: NWH.WheelController3D
    Assembly: NWH.WheelController.dll
    Syntax
    public struct CarInputActions.CarControlsActions

    Constructors

    | Edit this page View Source

    CarControlsActions(CarInputActions)

    Construct a new instance of the input action map wrapper class.

    Declaration
    public CarControlsActions(CarInputActions wrapper)
    Parameters
    Type Name Description
    CarInputActions wrapper

    Properties

    | Edit this page View Source

    Handbrake

    Provides access to the underlying input action "CarControls/Handbrake".

    Declaration
    public InputAction Handbrake { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    Steering

    Provides access to the underlying input action "CarControls/Steering".

    Declaration
    public InputAction Steering { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    Throttle

    Provides access to the underlying input action "CarControls/Throttle".

    Declaration
    public InputAction Throttle { get; }
    Property Value
    Type Description
    InputAction
    | Edit this page View Source

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    AddCallbacks(ICarControlsActions)

    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(CarInputActions.ICarControlsActions instance)
    Parameters
    Type Name Description
    CarInputActions.ICarControlsActions instance

    Callback instance.

    Remarks

    If instance is null or instance have already been added this method does nothing.

    See Also
    CarInputActions.CarControlsActions
    | Edit this page View Source

    Disable()

    Declaration
    public void Disable()
    | Edit this page View Source

    Enable()

    Declaration
    public void Enable()
    | Edit this page View Source

    Get()

    Provides access to the underlying input action map instance.

    Declaration
    public InputActionMap Get()
    Returns
    Type Description
    InputActionMap
    | Edit this page View Source

    RemoveCallbacks(ICarControlsActions)

    Unregisters and unregisters all input action callbacks via UnregisterCallbacks(ICarControlsActions).

    Declaration
    public void RemoveCallbacks(CarInputActions.ICarControlsActions instance)
    Parameters
    Type Name Description
    CarInputActions.ICarControlsActions instance
    See Also
    UnregisterCallbacks(ICarControlsActions)
    | Edit this page View Source

    SetCallbacks(ICarControlsActions)

    Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .

    Declaration
    public void SetCallbacks(CarInputActions.ICarControlsActions instance)
    Parameters
    Type Name Description
    CarInputActions.ICarControlsActions instance
    Remarks

    If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.

    See Also
    AddCallbacks(ICarControlsActions)
    RemoveCallbacks(ICarControlsActions)
    UnregisterCallbacks(ICarControlsActions)

    Operators

    | Edit this page View Source

    implicit operator InputActionMap(CarControlsActions)

    Implicitly converts an to an instance.

    Declaration
    public static implicit operator InputActionMap(CarInputActions.CarControlsActions set)
    Parameters
    Type Name Description
    CarInputActions.CarControlsActions set
    Returns
    Type Description
    InputActionMap
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics