官术网_书友最值得收藏!

Summary

This chapter introduced you to many methods that improve your scripting practices in the Unity Engine, with the aim of improving performance if (and only if) you have already proven them to be the cause of a performance problem. Some of these techniques demand some forethought and profiling investigation before being implemented, since they often come with introducing additional risks or obfuscating our codebase for new developers. Workflow is often just as important as performance and design, so before you make any performance changes to the code, you should consider whether or not you're sacrificing too much on the altar of performance optimization.

We will investigate more advanced scripting improvement techniques later, in Chapter 8, Masterful Memory Management, but let's take a break from staring at code and explore some ways to improve graphics performance using a pair of built-in Unity features known as Dynamic Batching and Static Batching.

主站蜘蛛池模板: 浪卡子县| 周口市| 出国| 色达县| 巴楚县| 侯马市| 建宁县| 依安县| 渝中区| 南康市| 德昌县| 宜丰县| 会东县| 肇东市| 呼图壁县| 东乌珠穆沁旗| 湟源县| 武川县| 五河县| 谢通门县| 日土县| 松溪县| 镇坪县| 谢通门县| 陆丰市| 永春县| 莒南县| 沧州市| 全南县| 璧山县| 施秉县| 尚志市| 隆昌县| 阿拉善盟| 土默特右旗| 江城| 泸定县| 泊头市| 竹山县| 桐城市| 红河县|