Documentation

Unity Spark

Open Unity Spark

Unity Spark

Hierarchy window reference

Find the add-object options, row buttons, and right-click actions of the Hierarchy window in Unity Spark.
Read time 2 minutesLast updated 3 hours ago

The Hierarchy window lists the objects in the open scene. Use it to add, select, and organize objects, and to make reusable prefabs.
For the steps to work with objects, refer to Add and select objects, Organize objects, and Create and manage prefabs.
The Hierarchy window. The Add object button and the search box are at the top, with the scene name under them. The scene lists a camera, a plane, a directional light, a UI canvas, and a player. The plane and the directional light show the icon that marks them as not selectable.

The Hierarchy window.

Hierarchy window contents

The Hierarchy window contains the following controls.

Add object options

Select Add object (+), or right-click (macOS: Ctrl+click) an empty part of the list, to display the following options.

Option

Description

Empty ObjectAdds an invisible container.
3D ObjectAdds a Cube, Sphere, Plane, Cylinder, Capsule, or Quad.
2D ObjectAdds a Sprite, World Text, Tilemap (with a choice of grid shapes), or Particle System.
ProBuilderAdds shapes you can reshape later, such as Stairs, Arch, Door, and Torus.
UIAdds on-screen elements such as Button, Text, Image, Slider, and Dropdown.
CameraAdds a camera.
Directional LightAdds a directional light.
Enter an object's name in the search box at the top of the window to find it. Use the menu at the left of the box to choose All, Name, or Type.

Row buttons

Hover over a row to display its buttons. UI elements have only the Make unselectable button. Both buttons are unavailable while the game is playing.

Button

Description

Hide (eye icon)Hides the object in the Scene view only. It still appears when you play the game.
Make unselectable (second button)Prevents selection of the object in the Scene view. You can still select it in the Hierarchy window.
When an object is hidden or not selectable, its button stays visible without hovering. To show the object or make it selectable again, select Show or Make selectable.

Right-click actions

Right-click (macOS: Ctrl+click) an object to access the following actions. They act on the whole selection.

Action

Description

RenameRenames the object. Press Enter to confirm or Esc to cancel.
DuplicateMakes a copy of the selection.
GroupPuts the selection inside a new empty object called
Group
.
DeleteDeletes the selection. Unity Spark doesn't ask for confirmation.
Prefab > Create PrefabSaves the object as a prefab in a
Prefabs
folder in your Project window.
Right-click (macOS: Ctrl+click) the top row of a prefab copy and select Prefab to display the following options.

Option

Description

Update PrefabSaves this copy's changes into the prefab, including any child objects you added.
Revert PrefabDiscards this copy's changes.
Break Prefab LinkTurns the copy into a regular object.
Select in ProjectShows the prefab in the Project window.

Additional resources