- Unity 2017 Game Optimization(Second Edition)
- Chris Dickinson
- 120字
- 2021-07-02 23:21:10
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.
推薦閱讀
- R語言數據可視化之美:專業圖表繪制指南
- SQL語言從入門到精通
- Visual Basic程序設計習題解答與上機指導
- Java Web應用開發技術與案例教程(第2版)
- Visual C++數字圖像處理技術詳解
- HDInsight Essentials(Second Edition)
- D3.js By Example
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- Frank Kane's Taming Big Data with Apache Spark and Python
- Training Systems Using Python Statistical Modeling
- Java Hibernate Cookbook
- Web開發的平民英雄:PHP+MySQL
- PHP項目開發全程實錄(第4版)
- Kohana 3.0 Beginner's Guide
- Java 7 Concurrency Cookbook