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

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.

主站蜘蛛池模板: 体育| 沁水县| 五峰| 平塘县| 河西区| 临朐县| 清丰县| 贡嘎县| 宜丰县| 南陵县| 桐柏县| 五峰| 巴彦淖尔市| 宜城市| 密山市| 额济纳旗| 莎车县| 翼城县| 丰城市| 黑龙江省| 青河县| 兴业县| 南昌市| 游戏| 镇原县| 扶风县| 洮南市| 黔西| 长子县| 增城市| 汤阴县| 台北市| 靖西县| 伊春市| 枣强县| 特克斯县| 南昌县| 三门峡市| 龙川县| 分宜县| 瓦房店市|