金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

uloop-get-hierarchy

uloop-get-hierarchy 是面向软件开发的 Agent Skill,来自 hatayama/uLoopMCP。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

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.

SKILL.md

下载 MD ↓
nameuloop-get-hierarchy
descriptionGet 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.

uloop get-hierarchy

Get Unity Hierarchy structure.

Usage

uloop get-hierarchy [options]

Parameters

Parameter Type Default Description
--root-path string - Root GameObject path to start from
--max-depth integer -1 Maximum depth (-1 for unlimited)
--include-components boolean true Include component information
--include-inactive boolean true Include inactive GameObjects
--include-paths boolean false Include full path information

Examples

# 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

Output

Returns JSON with hierarchical structure of GameObjects and their components.

来源:hatayama/uLoopMCP · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本