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

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.

主站蜘蛛池模板: 太原市| 彰武县| 沈丘县| 三门县| 广德县| 西峡县| 巴南区| 榆树市| 金秀| 炉霍县| 正阳县| 沧州市| 高淳县| 花莲市| 万山特区| 札达县| 监利县| 普陀区| 五家渠市| 临桂县| 东海县| 延川县| 彭水| 柘荣县| 杂多县| 景德镇市| 奎屯市| 分宜县| 石屏县| 吴桥县| 芦溪县| 抚州市| 崇左市| 泾源县| 玉门市| 五华县| 安福县| 乌审旗| 文登市| 六枝特区| 西畴县|