easygame 发表于 2012-12-27 22:36

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键好像不一定能用。。默认就是把程序挂到后台,并不是退出。

fanwuye 发表于 2013-1-6 17:39

测试Home键只有第一次成功,后面的几次结果都不行!

shengbin88 发表于 2013-1-12 16:50

unity可以多开

我没有过去 发表于 2013-1-14 19:19

学习了,感谢

/fendou 发表于 2013-1-22 08:54

{:5_421:}太感谢了.......一直到不到remote如何使用...

likunhan 发表于 2013-1-24 22:02

耗了我大半天时间,终于搞定。只是手机上跑的不太流畅,有时会卡一卡,怀疑Remote版本有点低。楼主如有Android Remote-4.0.0f7.apk,可否发个上来共享一下,在此先谢了!

大C 发表于 2017-5-5 08:50

楼主是超人

一紙痕 发表于 2017-5-5 08:45

好帖就是要顶

大C 发表于 2017-5-5 09:02

很好哦

Carefree.Q 发表于 2017-5-5 09:06

不错不错
页: [1]
查看完整版本: Unity3D用Remote在机子上调试