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

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.

主站蜘蛛池模板: 泗水县| 楚雄市| 墨竹工卡县| 富民县| 长白| 娄烦县| 虹口区| 原阳县| 建宁县| 宁城县| 三都| 元朗区| 冕宁县| 茶陵县| 三门峡市| 绩溪县| 大荔县| 威海市| 达尔| 佛教| 丹江口市| 鹤岗市| 塔城市| 沈丘县| 乌鲁木齐县| 秭归县| 卫辉市| 关岭| 大石桥市| 盐亭县| 依安县| 吉水县| 合水县| 浦东新区| 黔西县| 五原县| 张家港市| 桂东县| 都昌县| 塔河县| 东光县|