Input Action Data
Like what your seeing?
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Introduction
Represents the current state of an input action and is returned by the InputAction and InputControllerData objects. Its not typical that you would create this your self. The most common use case is to use the GetActionData() method of the InputAction object in Unity or to use the API.Input class to get the action data of a specific controller.
Fields and Attributes
Name
The name of the action the data relates to
Type
The type of action the data relates to
Controller
The handle for the controller this action data relates to
Active
Is the action active or not
Mode
The type of input source this action reported
State
The current state of the action at the time this data was generated
X
The x axis value of this input
Y
The y axis value of this input
Last updated