Input.GetKeyDown(KeyCode.Enter) code example
Example 1: use enter key unity
if (Input.GetKey(KeyCode.Return))
Example 2: intro keycode unity
Input.GetKey(KeyCode.Return)
if (Input.GetKey(KeyCode.Return))
Input.GetKey(KeyCode.Return)