-
Notifications
You must be signed in to change notification settings - Fork 1
Hierarchy Window
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.
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 youRClick
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.
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.
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.
You can move up and down GameObjects in Hierarchy by RClik
on them, and then choosing Move Up
or Move Down
.