Skip to main content

InputManager.GetKeyUp

Declaration#

public virtual bool GetKeyUp(KeyCode key)

Parameters#

NameDescription
keyKey to read

Description#

Returns true during the frame the user releases the key identified by name

Usage#

Example
InterfaceManager.Input.GetKeyUp(KeyCode.Return);

Declaration#

public virtual bool GetKeyUp(string key, Int32 playerId)

Parameters#

NameDescription
keyKey to read
playerIdId of player to check

Description#

Returns true during the frame the user releases the key identified by name

Usage#

Example
InterfaceManager.Input.GetKeyUp(KeyCode.Return, 0);