InputManager.GetKeyUp
Declaration#
public virtual bool GetKeyUp(KeyCode key)Parameters#
| Name | Description |
|---|---|
| key | Key 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#
| Name | Description |
|---|---|
| key | Key to read |
| playerId | Id 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);