Skip to content

Hierarchy Window

Mario Fernández Villalba edited this page Jan 28, 2020 · 1 revision

The default Hierarchy Window.

The Hierarchy window contains a list of all GameObjects in the current Scene. Here you can create new GameObjects or delete them. Also, you can re-order the hierarchy and make GameObjects children or parent of each other.

Creating GameObjects

The engine has two ways of creating GameObjects.

  • Directly in the hierarchy: In order to create a GameObject directly in the hierarchy RClick anywhere on it. A menu will show up, and it will give the option to create an empty GameObject or one containing a basic 3D shape (Cube, Sphere, ...). Notice that if you RClick on an already created GameObject the new one will be child of it. Otherwise, the new GameObject will be child of the Scene root.

Creating a GameObject from Hierarchy Window.

  • Importing a fbx from Assets: In order to create a GameObject from an imported Asset just drop the desired .fbx file from the Project Window. A new GameObject will be created as a child of the Scene root, and it will have one child for each mesh saved in the .fbx file.

Deleting GameObjects

In order to delete a GameObject from the Hierarchy and consequently from the Scene, RClick on it and select the option Delete GameObject. This will also delete all of its children.

Parenting

To make a GameObject child of another just drag it into the desired parent. In the other hand, to make a GameObject child of the Scene root drag the object into the empty space at the bottom of the Hierarchy window.

Making the GameObject Sphere child of Cube.

Re-ordering the Hierarchy

You can move up and down GameObjects in Hierarchy by RClik on them, and then choosing Move Upor Move Down.