Optimization tips and tricks

The Stats panel and the Profiler are solid tools for diagnosing performance problems in your game, as well as determining where those problems are in the script, thereby suggesting how they may be corrected. However, as mentioned, optimization should begin in the design phase of development and should persist throughout all subsequent stages. Consequently, there are some general tips, tricks, and workflows that can be followed, with proper consideration and limitations, to help optimize your game throughout development, minimizing the problems that can emerge later. This section explores some of these tips and tricks, in addition to those already mentioned in Chapter 1, Preparation and Asset Configuring. Let's ...

Get Mastering Unity 2017 Game Development with C# - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.