Class InputActions

Namespace: AppMana.InteractionToolkit

public class InputActions : IInputActionCollection2, IDisposable

Inheritance

IInputActionCollection2 ← InputActions

Implements

IDisposable

Constructors

InputActions()

public InputActions()

Properties

GamepadScheme

public InputControlScheme GamepadScheme { get; }

Property Value

InputControlScheme

JoystickScheme

public InputControlScheme JoystickScheme { get; }

Property Value

InputControlScheme

KeyboardMouseScheme

public InputControlScheme KeyboardMouseScheme { get; }

Property Value

InputControlScheme

TextInput

public InputActions.TextInputActions TextInput { get; }

Property Value

InputActions.TextInputActions

TouchScheme

public InputControlScheme TouchScheme { get; }

Property Value

InputControlScheme

UI

public InputActions.UIActions UI { get; }

Property Value

InputActions.UIActions

XRScheme

public InputControlScheme XRScheme { get; }

Property Value

InputControlScheme

asset

public InputActionAsset asset { get; }

Property Value

InputActionAsset

bindingMask

public InputBinding? bindingMask { get; set; }

Property Value

InputBinding?

bindings

public IEnumerable<InputBinding> bindings { get; }

Property Value

IEnumerable<InputBinding>

controlSchemes

public ReadOnlyArray<InputControlScheme> controlSchemes { get; }

Property Value

ReadOnlyArray<InputControlScheme>

devices

public ReadOnlyArray<InputDevice>? devices { get; set; }

Property Value

ReadOnlyArray<InputDevice>?

Methods

Contains(InputAction)

public bool Contains(InputAction action)

Parameters

action InputAction

Returns

bool

Disable()

public void Disable()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Enable()

public void Enable()

FindAction(string, bool)

public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)

Parameters

actionNameOrId string

throwIfNotFound bool

Returns

InputAction

FindBinding(InputBinding, out InputAction)

public int FindBinding(InputBinding bindingMask, out InputAction action)

Parameters

bindingMask InputBinding

action InputAction

Returns

int

GetEnumerator()

public IEnumerator<InputAction> GetEnumerator()

Returns

IEnumerator<InputAction>