📌  相关文章
📜  unity c# 检查是否按下了多个键 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:11.207000             🧑  作者: Mango

代码示例1
// 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...
}