Summary

Well, we covered a great deal in this chapter about organizing your Project as well as some tips for optimizing your game. We looked at ways to keep your folders and Hierarchy clean, and using layers and labels to more easily locate assets. We also looked at Prefabs and how they can be really beneficial.

We also looked at a few ways to organize and clean up our scripts to make them simpler, easier to manage and read, and maybe a little lighter on the CPU as well. The script files themselves can be small, but the slightest leak or loop can cause a great deal of heartache.

Last, we looked at some ways to optimize our game and reduce calculations on the graphics API. We also learned a great deal about draw calls and how to get the most ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation 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.