Unity Profiler 使用 Android 真机连接测试

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

官方说明: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
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值