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

Summary

This chapter introduced you to many methods that will improve your scripting practices in the Unity Engine and to improve performance if (and only if) you have already proven some scripts are 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 code base. 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.

主站蜘蛛池模板: 平江县| 甘谷县| 新绛县| 邹城市| 阜城县| 成都市| 温泉县| 黄大仙区| 扎赉特旗| 东乌珠穆沁旗| 灵川县| 和田县| 和静县| 陵水| 柏乡县| 衡水市| 清流县| 清河县| 连州市| 长汀县| 和平区| 绥江县| 远安县| 武邑县| 上栗县| 阿克苏市| 上蔡县| 和硕县| 上犹县| 合水县| 华亭县| 柯坪县| 分宜县| 岑溪市| 南溪县| 上饶县| 钟山县| 柞水县| 离岛区| 长丰县| 扬中市|