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

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.

主站蜘蛛池模板: 大关县| 宜兰市| 吉首市| 定州市| 松溪县| 鄂尔多斯市| 北川| 浪卡子县| 九寨沟县| 汉川市| 长海县| 镇宁| 扬州市| 呼图壁县| 肥城市| 民勤县| 鄢陵县| 伊通| 黄陵县| 兰考县| 景东| 滦平县| 龙里县| 门头沟区| 神农架林区| 英德市| 榆林市| 左贡县| 贵德县| 太康县| 雅江县| 邵阳市| 无棣县| 海城市| 东乡族自治县| 滦平县| 陕西省| 调兵山市| 呼伦贝尔市| 罗甸县| 柏乡县|