Unity 2017 Game Optimization - Optimize all aspects of Unity performance, 2/e
暫譯: Unity 2017 遊戲優化 - 全面優化 Unity 性能,第二版
Chris Dickinson
- 出版商: Packt Publishing
- 出版日期: 2017-11-27
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 376
- 裝訂: Paperback
- ISBN: 1788392361
- ISBN-13: 9781788392365
-
相關分類:
遊戲引擎 Game-engine
-
相關翻譯:
Unity 游戲優化, 2/e (Unity 2017 Game Optimization - Optimize all aspects of Unity performance, 2/e) (簡中版)
-
其他版本:
Unity Game Optimization, 3/e (Paperback)
相關主題
商品描述
Master a series of performance-enhancing coding techniques and methods that help them improve the performance of their Unity3D applications
About This Book
- Discover features and techniques to optimize Unity Engine's CPU cycles, memory usage, and the GPU throughput of any application
- Explore multiple techniques to solve performance issues with your VR projects
- Learn the best practices for project organization to save time through an improved workflow
Who This Book Is For
This book is intended for intermediate and advanced Unity developers who have experience with most of Unity's feature-set, and who want to maximize the performance of their game. Familiarity with the C# language will be needed.
What You Will Learn
- Use the Unity Profiler to find bottlenecks anywhere in your application, and discover how to resolve them
- Implement best practices for C# scripting to avoid common pitfalls
- Develop a solid understanding of the rendering pipeline, and maximize its performance by reducing draw calls and avoiding fill rate bottlenecks
- Enhance shaders in a way that is accessible to most developers, optimizing them through subtle yet effective performance tweaks
- Keep your scenes as dynamic as possible by making the most of the Physics engine
- Organize, filter, and compress your art assets to maximize performance while maintaining high quality
- Discover different kinds of performance problems that are critical for VR projects and how to tackle them
- Use the Mono Framework and C# to implement low-level enhancements that maximize memory usage and avoid garbage collection
- Get to know the best practices for project organization to save time through an improved workflow
In Detail
Unity is an awesome game development engine. Through its massive feature-set and ease-of-use, Unity helps put some of the best processing and rendering technology in the hands of hobbyists and professionals alike.
This book shows you how to make your games fly with the recent version of Unity 2017, and demonstrates that high performance does not need to be limited to games with the biggest teams and budgets.
Since nothing turns gamers away from a game faster than a poor user-experience, the book starts by explaining how to use the Unity Profiler to detect problems. You will learn how to use stopwatches, timers and logging methods to diagnose the problem. You will then explore techniques to improve performance through better programming practices.
Moving on, you will then learn about Unity’s built-in batching processes; when they can be used to improve performance, and their limitations. Next, you will import your art assets using minimal space, CPU and memory at runtime, and discover some underused features and approaches for managing asset data. You will also improve graphics, particle system and shader performance with a series of tips and tricks to make the most of GPU parallel processing.
You will then delve into the fundamental layers of the Unity3D engine to discuss some issues that may be difficult to understand without a strong knowledge of its inner-workings. The book also introduces you to the critical performance problems for VR projects and how to tackle them.
By the end of the book, you will have learned to improve the development workflow by properly organizing assets and ways to instantiate assets as quickly and waste-free as possible via object pooling.
Style and approach
This practical book will help readers understand the essentials of the Unity3D engine and how to build games while improving the performance of their applications.
商品描述(中文翻譯)
**掌握一系列性能增強的編碼技術和方法,幫助他們提升 Unity3D 應用程式的性能**
## 本書介紹
- 發現優化 Unity 引擎的 CPU 週期、記憶體使用和任何應用程式的 GPU 吞吐量的特性和技術
- 探索多種技術以解決 VR 專案的性能問題
- 學習最佳專案組織實踐,以透過改善工作流程來節省時間
## 本書適合誰
本書適合中級和高級的 Unity 開發者,他們對 Unity 的大多數功能集有經驗,並希望最大化遊戲的性能。需要對 C# 語言有一定的熟悉度。
## 您將學到什麼
- 使用 Unity Profiler 找出應用程式中的瓶頸,並了解如何解決它們
- 實施 C# 腳本的最佳實踐,以避免常見的陷阱
- 深入了解渲染管線,通過減少繪製調用和避免填充率瓶頸來最大化其性能
- 以大多數開發者都能接受的方式增強著色器,通過微妙但有效的性能調整來優化它們
- 充分利用物理引擎,使場景保持盡可能動態
- 組織、過濾和壓縮您的藝術資產,以在保持高品質的同時最大化性能
- 發現對 VR 專案至關重要的不同類型的性能問題以及如何解決它們
- 使用 Mono Framework 和 C# 實施低層次的增強,以最大化記憶體使用並避免垃圾回收
- 瞭解最佳專案組織實踐,以透過改善工作流程來節省時間
## 詳細內容
Unity 是一個出色的遊戲開發引擎。通過其龐大的功能集和易用性,Unity 幫助將一些最佳的處理和渲染技術放在業餘愛好者和專業人士的手中。
本書將向您展示如何使用最新版本的 Unity 2017 使您的遊戲運行流暢,並證明高性能不必限於擁有最大團隊和預算的遊戲。
由於沒有什麼比糟糕的用戶體驗更能讓玩家迅速遠離遊戲,因此本書首先解釋如何使用 Unity Profiler 來檢測問題。您將學習如何使用計時器、計時器和日誌記錄方法來診斷問題。接著,您將探索通過更好的編程實踐來改善性能的技術。
接下來,您將學習 Unity 的內建批次處理過程;何時可以使用它們來改善性能,以及它們的限制。然後,您將在運行時以最小的空間、CPU 和記憶體導入您的藝術資產,並發現一些未被充分利用的特性和管理資產數據的方法。您還將通過一系列提示和技巧來改善圖形、粒子系統和著色器性能,以充分利用 GPU 的並行處理。
接下來,您將深入探討 Unity3D 引擎的基本層次,討論一些在沒有強大內部運作知識的情況下可能難以理解的問題。本書還將介紹 VR 專案的關鍵性能問題以及如何解決它們。
在本書結束時,您將學會通過正確組織資產來改善開發工作流程,以及如何通過物件池以最快和最少浪費的方式實例化資產。
## 風格與方法
這本實用的書籍將幫助讀者理解 Unity3D 引擎的基本要素,以及如何在改善應用程式性能的同時構建遊戲。