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