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

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.

主站蜘蛛池模板: 伊吾县| 怀仁县| 麦盖提县| 桃园县| 呼玛县| 莱西市| 巴塘县| 叶城县| 宣武区| 中牟县| 高州市| 高州市| 平塘县| 汽车| 保定市| 广德县| 西城区| 嘉义县| 贵德县| 曲松县| 赤壁市| 东乡族自治县| 平陆县| 台南市| 武宣县| 柳江县| 双牌县| 怀集县| 衢州市| 广丰县| 伊春市| 凯里市| 芦溪县| 宁晋县| 通渭县| 什邡市| 永登县| 怀化市| 棋牌| 青神县| 承德县|