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

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.

主站蜘蛛池模板: 阿尔山市| 华阴市| 麦盖提县| 岳西县| 石家庄市| 长汀县| 澎湖县| 张北县| 格尔木市| 山阴县| 新兴县| 庐江县| 六枝特区| 南川市| 晴隆县| 万安县| 安塞县| 嘉黎县| 福建省| 宁国市| 康定县| 咸宁市| 华阴市| 胶南市| 安平县| 突泉县| 无极县| 秀山| 临潭县| 松潘县| 筠连县| 乐安县| 梅河口市| 天津市| 蒲城县| 滕州市| 修文县| 三台县| 诏安县| 东乌珠穆沁旗| 黔西|