美文网首页
Unity3d 真机调试

Unity3d 真机调试

作者: JumboWu | 来源:发表于2016-03-08 10:08 被阅读377次

    1、编译版本的时候,需要设置BuildOptions :BuildOptions.Development | BuildOptions.AllowDebugging | BuildOptions.ConnectWithProfiler
    2、确保PC端与手机终端在同一个局域网,网段相同
    3、adb tcpip 5555
    adb connect ip
    restarting in TCP mode port: 5555
    4、启动游戏
    5、Window->Profiler->Active Profiler Enter IP:手机终端IP
    6、打开MonoDeveloper->Run->Attach process选择你的手机

    adb shell cat /system/build.prop | grep "product"

    相关文章

      网友评论

          本文标题:Unity3d 真机调试

          本文链接:https://www.haomeiwen.com/subject/erlzkttx.html