Optimizing a game is not an easy task, especially if you are not familiar with the internals of how each Unity system works. Sadly, this is a Titanic task and no one knows every single system in its finest details, but with the tools learned in this chapter, we have a way to explore how changes affect systems through exploration. We learned how to profile the CPU, GPU, and RAM and what the key hardware in any game is, and also covered some common good practices to avoid abusing them.
Now you are able to diagnose performance issues in your game, gathering data about the performance of the three main pieces of hardware—the CPU, GPU, and RAM—and then use that data to focus your optimization efforts into applying the correct optimization technique. Performance is important as your game needs to run smoothly to give your users a pleasant experience.
In the next chapter, we are going to see how to create a build of our game to share with other people without needing...