unity detecting is q is pressed code example Example: unity getkey keycode Input.GetKey(KeyCode.Space))