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

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.

主站蜘蛛池模板: 高平市| 伊宁市| 清河县| 沅江市| 桂林市| 双牌县| 罗源县| 五台县| 渝中区| 肇东市| 娄底市| 玛多县| 吉水县| 保山市| 新巴尔虎左旗| 广平县| 阳新县| 潜江市| 白河县| 景宁| 漠河县| 铁岭县| 蚌埠市| 临海市| 栾川县| 千阳县| 禄劝| 林西县| 句容市| 牟定县| 会东县| 名山县| 延川县| 扶绥县| 宜良县| 汝阳县| 盐山县| 乐都县| 丹棱县| 湖口县| 昌图县|