Other tips
Finally, this section contains tips that didn't quite fit into the other categories.
It's always a good idea to organize our scenes using empty GameObjects and use them as parents for a group of objects while naming them something sensible for that group. The only drawback to this method is that the empty object's transform is included during position or rotation changes and is included during recalculations. As we know, reparenting GameObject to another transform has its own costs. Proper object referencing, transform change caching, and/or use of localPosition/localRotation can be used to solve some of these problems adequately. In almost all cases, the benefits of having a workflow from scene organization are significantly more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access