Skip to main content

InputManager.GetButtonUp

Declaration#

public virtual bool GetButtonUp(string buttonName)

Parameters#

NameDescription
buttonNameName 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#

NameDescription
buttonNameName of button to read
playerIdId 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);