uloop-get-hierarchy
Original:🇺🇸 English
Translated
Get Unity Hierarchy structure. Use when: inspecting scene structure, exploring GameObjects, checking parent-child relationships, or when user asks about hierarchy. Returns the scene's GameObject tree with components.
3installs
Sourcehatayama/uloopmcp
Added on
NPX Install
npx skill4agent add hatayama/uloopmcp uloop-get-hierarchyTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →uloop get-hierarchy
Get Unity Hierarchy structure.
Usage
bash
uloop get-hierarchy [options]Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| string | - | Root GameObject path to start from |
| integer | | Maximum depth (-1 for unlimited) |
| boolean | | Include component information |
| boolean | | Include inactive GameObjects |
| boolean | | Include full path information |
| boolean | | Use selected GameObject(s) as root(s). When true, |
Global Options
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
Examples
bash
# Get entire hierarchy
uloop get-hierarchy
# Get hierarchy from specific root
uloop get-hierarchy --root-path "Canvas/UI"
# Limit depth
uloop get-hierarchy --max-depth 2
# Without components
uloop get-hierarchy --include-components false
# Get hierarchy from currently selected GameObjects
uloop get-hierarchy --use-selectionOutput
Returns JSON with hierarchical structure of GameObjects and their components.