how to get a keyboard button imput in unity code example Example: get key unity if(Input.GetKey(KeyCode.Space)) { //do somthing }