Hierarchy Window: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
m (Added category)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:HierarchyWindowExample.png|thumb|600px|right|The Hierarchy Window with some nested gameobjects and [[Prefab Instance Component|prefab instances.]]]]
The Hierarchy Window is one of the primary windows in the mod editor. This window displays the gameobject hierarchy that constructs the mod scene. All gameobjects placed in the scene can be found in this window.
The Hierarchy Window is one of the primary windows in the mod editor. This window displays the gameobject hierarchy that constructs the mod scene. All gameobjects placed in the scene can be found in this window.


=== Modes ===
Clicking on gameobjects in this window will select them in the [[Scene View]] and show their components in the [[Inspector Window]].
 
== Modes ==
===Scene Hierarchy===
===Scene Hierarchy===
Displays the complete scene hierarchy. This is the standard mode of the hierarchy window. At the top of the hierarchy in yellow is the [[Mod Settings]] object. This is a special object containing settings for the current mod.  
Displays the complete scene hierarchy. This is the standard mode of the hierarchy window. At the top of the hierarchy in yellow is the [[Mod Settings]] object. This is a special object containing settings for the current mod.  


===Editing prefabs===
===Editing prefabs===
While editing prefabs, the hierarchy will only display the prefab root object, and all objects within the prefab and children of the prefab root. All other gameobjects from the mod scene are hidden. A button at the top of the hierarchy can be pressed to exit prefab editing and return to the typical scene hierarchy.
While editing prefabs, the hierarchy will only display the prefab root object and all objects within the prefab and children of the prefab root. All other gameobjects from the mod scene are hidden. A button at the top of the hierarchy can be pressed to exit prefab editing and return to the typical scene hierarchy.


==Actions and Shortcuts==
==Actions and Shortcuts==

Latest revision as of 23:34, 15 December 2022

The Hierarchy Window with some nested gameobjects and prefab instances.

The Hierarchy Window is one of the primary windows in the mod editor. This window displays the gameobject hierarchy that constructs the mod scene. All gameobjects placed in the scene can be found in this window.

Clicking on gameobjects in this window will select them in the Scene View and show their components in the Inspector Window.

Modes

Scene Hierarchy

Displays the complete scene hierarchy. This is the standard mode of the hierarchy window. At the top of the hierarchy in yellow is the Mod Settings object. This is a special object containing settings for the current mod.

Editing prefabs

While editing prefabs, the hierarchy will only display the prefab root object and all objects within the prefab and children of the prefab root. All other gameobjects from the mod scene are hidden. A button at the top of the hierarchy can be pressed to exit prefab editing and return to the typical scene hierarchy.

Actions and Shortcuts

The following actions are available in the Hierarchy Window.

Action Description
Left click
  • (On a gameobject) Select the gameobject.
  • (Not on a gameobject) Deselect all selected gameobjects.
Right click Open the hierarchy context menu.
SHIFT + click multi-select gameobjects. Selects all gameobjects between this and the last gameobject clicked.
CTRL + click multi-select gameobjects. Add/remove the clicked gameobject to the selection.
CTRL + D Duplicate the selected gameobjects.
F2 Rename the selected gameobject.
DELETE Delete the selected gameobjects.