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

Disable unused scripts and objects

Scenes can get pretty busy sometimes, especially when we're building large, open worlds. The more objects invoking code in an Update() callback, the worse things it will scale and the slower the game becomes. However, much of what is being processed may be completely unnecessary if it is outside of the player's view or simply too far away to matter. This may not be a possibility in large city-building simulation games, where the entire simulation must be processed at all times, but it is often possible in first-person and racing games since the player is wandering around a large expansive area, where non-visible objects can be temporarily disabled without having any noticeable effect on gameplay.

主站蜘蛛池模板: 菏泽市| 信丰县| 信宜市| 卢氏县| 绥江县| 司法| 德令哈市| 五台县| 宜阳县| 从化市| 商河县| 中牟县| 东明县| 永川市| 育儿| 嘉兴市| 西峡县| 铜鼓县| 牟定县| 扬州市| 嘉义县| 宜宾县| 晋宁县| 稷山县| 娱乐| 出国| 招远市| 盐池县| 南郑县| 大余县| 海林市| 阳西县| 海盐县| 花垣县| 迁安市| 清流县| 灵寿县| 大庆市| 黑河市| 高雄市| 华阴市|