⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Struct NeoFpsInputActions.MovementActions

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

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public struct MovementActions

    Constructors

    MovementActions(NeoFpsInputActions)

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

    Declaration
    public MovementActions(NeoFpsInputActions wrapper)
    Parameters
    Type Name Description
    NeoFpsInputActions wrapper

    Properties

    AnalogueLook

    Provides access to the underlying input action "Movement/AnalogueLook".

    Declaration
    public InputAction AnalogueLook { get; }
    Property Value
    Type Description
    InputAction

    AnalogueMove

    Provides access to the underlying input action "Movement/AnalogueMove".

    Declaration
    public InputAction AnalogueMove { get; }
    Property Value
    Type Description
    InputAction

    Backwards

    Provides access to the underlying input action "Movement/Backwards".

    Declaration
    public InputAction Backwards { get; }
    Property Value
    Type Description
    InputAction

    Crouch

    Provides access to the underlying input action "Movement/Crouch".

    Declaration
    public InputAction Crouch { get; }
    Property Value
    Type Description
    InputAction

    CrouchToggle

    Provides access to the underlying input action "Movement/CrouchToggle".

    Declaration
    public InputAction CrouchToggle { get; }
    Property Value
    Type Description
    InputAction

    enabled

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

    Forwards

    Provides access to the underlying input action "Movement/Forwards".

    Declaration
    public InputAction Forwards { get; }
    Property Value
    Type Description
    InputAction

    Jump

    Provides access to the underlying input action "Movement/Jump".

    Declaration
    public InputAction Jump { get; }
    Property Value
    Type Description
    InputAction

    LeanLeft

    Provides access to the underlying input action "Movement/LeanLeft".

    Declaration
    public InputAction LeanLeft { get; }
    Property Value
    Type Description
    InputAction

    LeanRight

    Provides access to the underlying input action "Movement/LeanRight".

    Declaration
    public InputAction LeanRight { get; }
    Property Value
    Type Description
    InputAction

    MouseLook

    Provides access to the underlying input action "Movement/MouseLook".

    Declaration
    public InputAction MouseLook { get; }
    Property Value
    Type Description
    InputAction

    Sprint

    Provides access to the underlying input action "Movement/Sprint".

    Declaration
    public InputAction Sprint { get; }
    Property Value
    Type Description
    InputAction

    SprintToggle

    Provides access to the underlying input action "Movement/SprintToggle".

    Declaration
    public InputAction SprintToggle { get; }
    Property Value
    Type Description
    InputAction

    StrafeLeft

    Provides access to the underlying input action "Movement/StrafeLeft".

    Declaration
    public InputAction StrafeLeft { get; }
    Property Value
    Type Description
    InputAction

    StrafeRight

    Provides access to the underlying input action "Movement/StrafeRight".

    Declaration
    public InputAction StrafeRight { get; }
    Property Value
    Type Description
    InputAction

    Methods

    AddCallbacks(NeoFpsInputActions.IMovementActions)

    Adds , and callbacks provided via on all input actions contained in this map.

    Declaration
    public void AddCallbacks(NeoFpsInputActions.IMovementActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IMovementActions instance

    Callback instance.

    Remarks

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

    See Also
    NeoFpsInputActions.MovementActions

    Disable()

    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(NeoFpsInputActions.IMovementActions)

    Unregisters and unregisters all input action callbacks via NeoFPS.NeoFpsInputActions.MovementActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IMovementActions).

    Declaration
    public void RemoveCallbacks(NeoFpsInputActions.IMovementActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IMovementActions instance
    See Also
    NeoFPS.NeoFpsInputActions.MovementActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IMovementActions)

    SetCallbacks(NeoFpsInputActions.IMovementActions)

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

    Declaration
    public void SetCallbacks(NeoFpsInputActions.IMovementActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IMovementActions instance
    Remarks

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

    See Also
    AddCallbacks(NeoFpsInputActions.IMovementActions)
    RemoveCallbacks(NeoFpsInputActions.IMovementActions)
    NeoFPS.NeoFpsInputActions.MovementActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IMovementActions)

    Operators

    Implicit(NeoFpsInputActions.MovementActions to InputActionMap)

    Implicitly converts an to an instance.

    Declaration
    public static implicit operator InputActionMap(NeoFpsInputActions.MovementActions set)
    Parameters
    Type Name Description
    NeoFpsInputActions.MovementActions set
    Returns
    Type Description
    InputActionMap
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX