How to do it...

To use the Profiler, we will take a look at some of the UI elements of this window. Before we hit Play, let's take a look at how to get the information we need from the Profiler:

  1. First, click on the larger blocks in the Profiler window called GPU Usage, CPU Usage, and Rendering. You will find these blocks on the left-hand side of the upper window:
  1. Using these blocks, we can see different data specific to those major functions of our game. The CPU Usage is showing us what most of our scripts are doing, as well as physics and overall rendering. The GPU Usage block is giving us detailed information about the elements that are ...

Get Unity 2018 Shaders and Effects Cookbook 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.