InputManager.GetButtonUp
Declaration#
public virtual bool GetButtonUp(string buttonName)Parameters#
| Name | Description |
|---|---|
| buttonName | Name of button to read |
Description#
Returns true the first frame the user releases the virtual button identified by buttonName
Usage#
Example
InterfaceManager.Input.GetButtonUp("Fire1");Declaration#
public virtual bool GetButtonUp(string buttonName, Int32 playerId)Parameters#
| Name | Description |
|---|---|
| buttonName | Name of button to read |
| playerId | Id of player to check |
Description#
Returns true the first frame the user releases the virtual button identified by buttonName
Usage#
Example
InterfaceManager.Input.GetButtonUp("Fire1", 0);