unity keyboard input right arrow key code example Example 1: unity up arrow input Input.GetKeyDown("up") Example 2: unity getkey keycode Input.GetKey(KeyCode.Space))