0
0
Unityframework~10 mins

Scene hierarchy window in Unity - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Scene hierarchy window
Open Unity Editor
Locate Hierarchy Window
View Scene Objects List
Select Object
Inspect or Modify Object Properties
Add/Remove/Organize Objects
Scene Updates Reflect in Hierarchy
This flow shows how you open the Unity Editor, find the Hierarchy window, and use it to view and manage all objects in your scene.
Execution Sample
Unity
1. Open Unity Editor
2. Look at the Hierarchy window
3. Click on a GameObject
4. See its children nested below
5. Drag to reorder or parent objects
6. Add new GameObjects via right-click
This sequence shows how you interact with the Scene Hierarchy window to organize and manage objects visually.
Execution Table
StepActionHierarchy Window StateSelected ObjectEffect
1Open Unity EditorHierarchy window visible with default scene objectsNoneReady to view scene objects
2Locate Hierarchy windowHierarchy window shows list of GameObjectsNoneScene objects listed in tree form
3Select 'Main Camera'Hierarchy shows 'Main Camera' highlightedMain CameraInspector shows Main Camera properties
4Expand 'Player' GameObjectHierarchy shows 'Player' with nested children visiblePlayerChildren objects visible under Player
5Drag 'Weapon' under 'Player'Hierarchy updates 'Weapon' as child of 'Player'WeaponScene hierarchy updated, parenting changed
6Right-click > Create EmptyNew GameObject 'GameObject' added at rootNew GameObjectNew empty object created in scene
7Delete 'GameObject''GameObject' removed from hierarchyNoneObject removed from scene
8Close Unity EditorHierarchy window closesNoneEditing session ends
💡 Unity Editor closed or scene closed, stopping hierarchy interaction
Variable Tracker
VariableStartAfter Step 3After Step 4After Step 5After Step 6After Step 7Final
Hierarchy Window StateVisible with default objectsMain Camera selectedPlayer expandedWeapon parented to PlayerNew GameObject addedNew GameObject deletedClosed
Selected ObjectNoneMain CameraPlayerWeaponNew GameObjectNoneNone
Key Moments - 3 Insights
Why do child objects appear nested under parent objects in the hierarchy?
Because parenting in Unity means the child object is visually nested under the parent in the hierarchy, showing their relationship clearly (see Step 4 and Step 5 in execution_table).
What happens when you drag one object onto another in the hierarchy?
Dragging an object onto another changes its parent, updating the scene hierarchy and affecting how objects move together (see Step 5 in execution_table).
Why does selecting an object in the hierarchy show its properties in the Inspector?
Selecting an object highlights it in the hierarchy and loads its details in the Inspector for editing, linking selection to property display (see Step 3 in execution_table).
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table at Step 4. What change happens in the hierarchy window?
AThe 'Main Camera' is deleted
BThe 'Player' GameObject is expanded to show its children
CA new GameObject is created
DThe 'Weapon' is parented to 'Player'
💡 Hint
Check the 'Hierarchy Window State' column at Step 4 in execution_table
According to variable_tracker, which object is selected after Step 5?
APlayer
BMain Camera
CWeapon
DNew GameObject
💡 Hint
Look at the 'Selected Object' row after Step 5 in variable_tracker
If you delete the 'New GameObject' at Step 7, what happens to the hierarchy window state?
A'New GameObject' is removed from the hierarchy
B'New GameObject' becomes a child of 'Player'
CThe hierarchy window closes
DNothing changes
💡 Hint
See Step 7 in execution_table under 'Effect'
Concept Snapshot
Scene Hierarchy Window in Unity:
- Shows all GameObjects in the current scene
- Objects are nested to show parent-child relationships
- Select objects to view/edit properties in Inspector
- Drag to reorder or change parenting
- Right-click to add or delete objects
- Changes here update the scene structure immediately
Full Transcript
The Scene Hierarchy Window in Unity is where you see all the objects in your scene listed in a tree form. You open Unity, find this window, and see all your GameObjects. Selecting an object highlights it and shows its properties in the Inspector. You can expand objects to see their children, drag objects to change their parent, and right-click to add or remove objects. Each action updates the scene immediately. This visual trace showed step-by-step how the hierarchy changes as you select, expand, drag, add, and delete objects, helping you understand how Unity organizes scene objects.