Unity Get Hierarchy
unity_get_hierarchyRetrieve the full hierarchy tree of GameObjects from the active Unity scene. Optionally specify a root path, depth, or timeout.
Instructions
Get the full scene hierarchy tree from the active Unity scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootPath | No | Optional root GameObject path to start from. Empty for full scene. | |
| depth | No | Maximum hierarchy depth. | |
| timeoutMs | No | Command timeout. |