📅  最后修改于: 2022-03-11 14:49:11.207000             🧑  作者: Mango
// 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...
}