Class InputActions
Namespace: AppMana.InteractionToolkit
public class InputActions : IInputActionCollection2, IDisposable
Inheritance
IInputActionCollection2 ← InputActions
Implements
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
TouchScheme
public InputControlScheme TouchScheme { get; }
Property Value
InputControlScheme
UI
public InputActions.UIActions UI { get; }
Property Value
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
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
GetEnumerator()
public IEnumerator<InputAction> GetEnumerator()
Returns
IEnumerator<InputAction>
