Struct NeoFpsInputActions.InteractionActions
Provides access to input actions defined in input action map "Interaction".
Inherited Members
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public struct InteractionActions
Constructors
InteractionActions(NeoFpsInputActions)
Construct a new instance of the input action map wrapper class.
Declaration
public InteractionActions(NeoFpsInputActions wrapper)
Parameters
| Type | Name | Description |
|---|---|---|
| NeoFpsInputActions | wrapper |
Properties
enabled
Declaration
public bool enabled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PickUp
Provides access to the underlying input action "Interaction/PickUp".
Declaration
public InputAction PickUp { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Use
Provides access to the underlying input action "Interaction/Use".
Declaration
public InputAction Use { get; }
Property Value
| Type | Description |
|---|---|
| InputAction |
Methods
AddCallbacks(NeoFpsInputActions.IInteractionActions)
Adds
Declaration
public void AddCallbacks(NeoFpsInputActions.IInteractionActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| NeoFpsInputActions.IInteractionActions | instance | Callback instance. |
Remarks
If instance is null or instance have already been added this method does nothing.
See Also
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.IInteractionActions)
Unregisters and unregisters all input action callbacks via NeoFPS.NeoFpsInputActions.InteractionActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IInteractionActions).
Declaration
public void RemoveCallbacks(NeoFpsInputActions.IInteractionActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| NeoFpsInputActions.IInteractionActions | instance |
See Also
SetCallbacks(NeoFpsInputActions.IInteractionActions)
Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
Declaration
public void SetCallbacks(NeoFpsInputActions.IInteractionActions instance)
Parameters
| Type | Name | Description |
|---|---|---|
| NeoFpsInputActions.IInteractionActions | instance |
Remarks
If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.
See Also
Operators
Implicit(NeoFpsInputActions.InteractionActions to InputActionMap)
Implicitly converts an
Declaration
public static implicit operator InputActionMap(NeoFpsInputActions.InteractionActions set)
Parameters
| Type | Name | Description |
|---|---|---|
| NeoFpsInputActions.InteractionActions | set |
Returns
| Type | Description |
|---|---|
| InputActionMap |