if two keys are being pressed unity code example
Example: unity c# check if multiple keys are pressed
// 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...
}
// 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...
}