官方说明:https://docs.unity3d.com/2018.4/Documentation/Manual/profiler-profiling-applications.html
使用usb连接
官网说明:
- Attach your device to your computer via cable and make sure that it shows in the adb
devices list.- Go to the Build Settings (menu: File > Build Settings), enable the Development Buildcheckbox, and then select Build & Run
- When the application launches on the device, open the Profiler window in the Unity Editor (menu: Window > Analysis > Profiler).
- From the Attach to Player drop-down menu, select AndroidProfiler(ADB@127.0.0.1:34999). The entry in the drop-down menu is only visible when the selected target is Android.
翻译后:
- 打开手机调试模式
- 打开 Bu

本文详细介绍了如何使用Unity3D的Profiler工具进行应用性能分析,包括通过USB和WiFi连接设备,设置Build参数,以及解决端口冲突的方法。适用于Unity3D开发者提升游戏和应用的运行效率。
最低0.47元/天 解锁文章
424

被折叠的 条评论
为什么被折叠?



