unity how to detect if keyboard button is down code example Example: unity check if key pressed if (Input.GetKeyDown(KeyCode.KEY))