unity input get button down E code example Example: get key unity if(Input.GetKey(KeyCode.Space)) { //do somthing }