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

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.

主站蜘蛛池模板: 焦作市| 若尔盖县| 青岛市| 东兴市| 昌平区| 罗源县| 广宁县| 渝中区| 镇康县| 托克逊县| 若尔盖县| 屯门区| 丁青县| 普洱| 长丰县| 德兴市| 南昌市| 江永县| 贞丰县| 巴中市| 澄江县| 定南县| 娄烦县| 香格里拉县| 方城县| 阿荣旗| 巫山县| 彭泽县| 伽师县| 盐边县| 尚义县| 宜川县| 开封县| 秦皇岛市| 台江县| 军事| 定陶县| 黔南| 安丘市| 婺源县| 甘德县|