Scripting API

InputActionMap

class in UnityEngine.InputSystem · Unity.InputSystem

20 of 26 of Unity's members
In Tassix

A named group of actions (a "Player" or "UI" map), enabled and disabled together.

Constructors 1

Properties 10

ReadOnlyArray<InputAction> actions { get; }
InputActionAsset? asset { get; }
InputBinding? bindingMask { get; set; }
ReadOnlyArray<InputBinding> bindings { get; }
ReadOnlyArray<InputControlScheme> controlSchemes { get; }
ReadOnlyArray<InputDevice>? devices { get; set; }
bool enabled { get; }
Guid id { get; }
string name { get; }
InputAction this[string actionNameOrId] { get; }

Methods 8

bool Contains(InputAction action)
void Disable()
void Dispose()
void Enable()
InputAction? FindAction(string actionNameOrId, bool throwIfNotFound = false)
InputAction FindAction(Guid id)
int FindBinding(InputBinding mask, out InputAction? action)
IEnumerator<InputAction> GetEnumerator()
string ToString()

Events 1

event Action<InputAction.CallbackContext>? actionTriggered

Not in Tassix yet 6

Clone FromJson IsUsableWithDevice OnAfterDeserialize OnBeforeSerialize ToJson