All input.getkey values unity c script code example Example: get key unity if(Input.GetKey(KeyCode.Space)) { //do somthing }