[Unity优化]Unity Android Profiler
Unity Script Debugging on Android with MonoDevelop is only supported via WiFi. It is not possible via USB Cable。
PC设置:
1、检查防火墙,开启防火墙端口54999
2、adb forward tcp:54999 localabstract:Unity-xxx.xxx.xxx
xxx.xxx.xxx为游戏包名。
3、查看占用54999端口的进程:netstat -ano | findstr 54999
Unity打包设置:
1、Build Setting
2、PlayerSetting