The Hierarchy window contains every GameObject (referred to here as “object”) in the current Scene. Some of these are direct instances of Asset files (like 3D models), and others are instances of Prefabs, which are custom objects that make up most of your game. As you add and remove objects to and from the Scene, they appear in and disappear from the Hierarchy as well.
By default, objects are listed in the Hierarchy window in the order they are made. You can re-order the objects by dragging them up or down, or by making them “child” or “parent” objects (see below).
Unity uses a concept called Parenting. When you create a group of objects, the topmost object or Scene is called the “parent object”, and all objects grouped underneath it are called “child objects” or “children”. You can also create nested parent-child objects (called “descendants” of the top-level parent object).
Click a parent object’s drop-down arrow (on the left-hand side of its name) to show or hide its children. Hold down the Alt key while clicking the drop-down arrow to toggle visibility of all descendant objects of the parent, in addition to the immediate child object.
To make any object the “child” of another, drag and drop the intended child object onto the intended parent object in the Hierarchy.
You can also drag-and-drop an object alongside other objects to make them “siblings” - that is, child objects under the same parent object. Drag the object above or below an existing object until a horizontal blue line appears, and drop it there to place it alongside the existing object.
Child objects inherit the movement and rotation of the parent object. To learn more about this, see documentation on the Transform component.
You can change the order of objects in the Hierarchy window to be alphanumeric. In the menu bar, select Edit > Preferences in Windows or Unity > Preferences in OS X to launch the Preferences window. Check Enable Alpha Numeric Sorting.
When you check this, an icon appears in the top-right of the Hierarchy window, allowing you to toggle between Transform sorting (the default value) or Alphabetic sorting.
It is possible to have more than one Scene open in the Hierarchy window at the same time. To find out more about this, see the Multi-Scene editing page.