Input.Button
static BtnState Button(InputButton buttonType)
Gets a binary button state from the input system. These are on/off inputs like controller face buttons and thumbstick clicks.
| InputButton buttonType | The type of button input to retrieve. |
| RETURNS: BtnState | A BtnState describing whether the button is active, just became active, or just became inactive this frame. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!