input.getkeyup unity code example
Example 1: input.getkeyup
if (Input.GetKeyUp(KeyCode.Space))
{
Debug.Log("Space button is released");
}
Example 2: unity getkey keycode
Input.GetKey(KeyCode.Space))
if (Input.GetKeyUp(KeyCode.Space))
{
Debug.Log("Space button is released");
}
Input.GetKey(KeyCode.Space))