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

Disabling unused scripts and objects

Scenes can get pretty busy sometimes, especially when we're building large, open worlds. The more objects there are invoking code in an Update() callback, the worse 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.

主站蜘蛛池模板: 东光县| 衡阳市| 象州县| 当雄县| 临武县| 滨海县| 廊坊市| 曲沃县| 微博| 菏泽市| 若尔盖县| 柏乡县| 黄陵县| 囊谦县| 辽宁省| 昭苏县| 湘潭市| 泉州市| 登封市| 渝中区| 遂宁市| 金华市| 封开县| 阜平县| 白沙| 兴国县| 汝州市| 璧山县| 水城县| 廉江市| 汨罗市| 郯城县| 清水河县| 资源县| 四平市| 谷城县| 蓬莱市| 宜黄县| 衢州市| 海原县| 郁南县|