KeyboardEvent(KeyCode.Space.ToString()))) { Debug.Log("Space key is pressed."); } } } For joystick and gamepad button presses, consider using Input.
確定! 回上一頁