how to check if enter is pressed in untiy code example Example: use enter key unity if (Input.GetKey(KeyCode.Return))