Skip to Main Content
Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation
book

Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation

by Matthew Johnson, James A. Henley
December 2014
Beginner content levelBeginner
384 pages
11h 15m
English
Addison-Wesley Professional
Content preview from Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation

Hierarchy

One last place you might want to do some organizing is with the Hierarchy of your Scene. This can become messy and convoluted, even more so than the Project Browser. This is because when you drag things into your Scene, there is no real structure for them. If you have an asset called “myAsset,” and then drag in multiple copies, they will all keep the same name. Having 20 of these with the same name makes it hard to tell which one is which!

A good way to keep this structured is by placing things in their own containers. Unity does not really provide a clean way to do this, but we can use empty GameObjects to act as containers. Let’s walk through the steps for our level design.

Note

We briefly touched on this concept in Chapter 4, “ ...

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.
Start your free trial

You might also like

Game Development with MonoGame: Build a 2D Game Using Your Own Reusable and Performant Game Engine

Game Development with MonoGame: Build a 2D Game Using Your Own Reusable and Performant Game Engine

Louis Salin, Rami Morrar
Game Development Projects with Unreal Engine

Game Development Projects with Unreal Engine

Hammad Fozi, Gonçalo Marques, David Pereira, Devin Sherry

Publisher Resources

ISBN: 9780133523416Purchase book