Unity3D用Remote在机子上调试
一、用Remote在机子上调试步骤:1,install the remote apk file on your phone.2,enable usb debugging.
3,connect your phone to computer with usb.
4,lunch remote on your phone.
5,lunch unity and hit play. 更详细一点的:http://answers.unity3d.com/questions/198853/unity-remote-for-android-not-working-solution.html有时不能连是因为找不到设备:http://gamedev.stmartins.edu/2011/07/getting-unity-remote-for-android-working-on-windows/
二、unity的多开方式。在unity的快捷方式里的属性,目标中加上-projectPath即可。
三、检测android的返回键(escape)和主页键(Home)if (Input.GetKeyUp(KeyCode.Escape))
{
Debug.Log("Return Button");
}
if (Input.GetKeyUp(KeyCode.Home))
{
Debug.Log("Home Button");
}
Home键好像不一定能用。。默认就是把程序挂到后台,并不是退出。
测试Home键只有第一次成功,后面的几次结果都不行! unity可以多开 学习了,感谢 {:5_421:}太感谢了.......一直到不到remote如何使用... 耗了我大半天时间,终于搞定。只是手机上跑的不太流畅,有时会卡一卡,怀疑Remote版本有点低。楼主如有Android Remote-4.0.0f7.apk,可否发个上来共享一下,在此先谢了! 楼主是超人 好帖就是要顶 很好哦 不错不错
页:
[1]