while holding key down unity code example Example: how to see if they are aholding down a key unity input.GetKey("Key")