Loading...
Loading...
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.
npx skill4agent add hatayama/uloopmcp uloop-get-hierarchyuloop get-hierarchy [options]| 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, |
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
# 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-selection