key code for enter button unity code example Example: use enter key unity if (Input.GetKey(KeyCode.Return))