原创文章如需转载请注明:转载自风宇冲Unity3D教程学院开启Development Build,Script
Debugging
当出现错误时
如下,会告诉你错误类型为NullReferenceException。在调用Object时
Object为空。这个错误发生在UIManager.Update
怎么样,是不是很方便?
关于Profiler
开发模式下还有另外一个选项 - Autoconnect
Profiler自动连接至 Profiler(分析器) 就是性能监测工具。用起来比较麻烦,得电脑与移动设备都处在相同的Adhoc
无线网中。iOS下Profiler不如Xcode的Instrument使用起来方便。
对Profile监测iOS有兴趣的同学,可以看看下面的链接:
http://answers./questions/340373/wth-profiler-not-working-with-ios.html
http://answers./questions/51478/unity-pro-profiler-cant-find-my-iphone.html
|
|
来自: 雪柳花明 > 《Unity3D Shader》