- 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.
推薦閱讀
- Learning Chef
- Java 9 Programming Blueprints
- INSTANT MinGW Starter
- Android NDK Beginner’s Guide
- Visual Basic程序設計教程
- CouchDB and PHP Web Development Beginner’s Guide
- Learning Data Mining with R
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 監控的藝術:云原生時代的監控框架
- 超簡單:用Python讓Excel飛起來(實戰150例)
- Scratch從入門到精通
- Clojure Web Development Essentials
- C++17 By Example
- JBoss AS 7 Development
- 產品架構評估原理與方法