if (Input.GetKeyDown(KeyCode.A)){
Debug.Log("您按下了A键");
}
if (Input.GetKeyUp(KeyCode.A)) { Debug.Log("您抬起了A键"); }
时间: 2024-08-09 06:33:12
if (Input.GetKeyDown(KeyCode.A)){
Debug.Log("您按下了A键");
}
if (Input.GetKeyUp(KeyCode.A)) { Debug.Log("您抬起了A键"); }