📜  机械键盘与薄膜键盘 - 无论代码示例

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

代码示例1
if(Input.GetKeyDown(KeyCode.Space) && is rubberpiece)
{
    is membrane;
}
if(Input.GetKeyDown(KeyCode.Space) && is metalpiece)
{
    is mechanical;
}