The InputAction class in the Sandbox
namespace represents an input action defined by a game project. It is used to handle input events such as key presses or gamepad button actions.
The InputAction class in the Sandbox
namespace represents an input action defined by a game project. It is used to handle input events such as key presses or gamepad button actions.
Member Name | Summary |
---|---|
Name | The name of the input action. Used by Input.Down|Pressed|Released. |
KeyboardCode | The key or key combo we'll be watching for. |
GamepadCode | What gamepad button should this action map to? |
GroupName | A group name for this input when showing in a binding system. |