我在图片中有蓝牙 Controller 。如何在我的安卓游戏中使用操纵杆和其他 6 个按钮?我只能使用 (Input.GetKeyDown(KeyCode.Escape)) 访问 Controller 上的退出按钮
最佳答案
您可能可以通过执行以下操作来调试它:
if(Input.anyKeyDown)
Debug.Log(Input.inputString);
在您的更新功能中查看按下了哪些按钮。
Documentation for Input.inputString
您可能还会发现一些线索 here
还有 this用于设置 Controller 。
关于android - 如何在 Unity 中使用蓝牙 Controller ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40764880/