how to test if a key is pressed uiity code example Example: unity check if key pressed if (Input.GetKeyDown(KeyCode.KEY))