// Checks if W or D keys are have been pressed or being held down if (Input.GetKey(KeyCode.W) && Input.GetKey(KeyCode.D)) { // do something... }