You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
GetButton() returns true if the specified [XboxButton](https://github.com/JISyed/Unity-XboxCtrlrInput/wiki/XboxButton) was pressed down at any frame. This would be useful for controls that would require the player to hold down a button, for example.
Parameters
XboxButton button : An identifier for the Xbox button you want to test. Please refer to XboxButton for all possible buttons.
int controllerNumber : An identifier for the specific controller on which to test the button. If this parameter isn't provided, all connected controllers will be tested for the specified button.