什么是 uloop-get-hierarchy?
获取Unity层次结构。使用场合:检查场景结构、探索游戏对象、检查父子关系或当用户询问层次结构时。返回场景的 GameObject 树及其组件。 来源:hatayama/uloopmcp。
获取Unity层次结构。使用场合:检查场景结构、探索游戏对象、检查父子关系或当用户询问层次结构时。返回场景的 GameObject 树及其组件。
通过命令行快速安装 uloop-get-hierarchy AI 技能到你的开发环境
来源:hatayama/uloopmcp。
| --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 |
| --use-selection | boolean | false | Use selected GameObject(s) as root(s). When true, --root-path is ignored. |
| --project-path | Target a specific Unity project (mutually exclusive with --port). Path resolution follows the same rules as cd — absolute paths are used as-is, relative paths are resolved from cwd. | | -p, --port | Specify Unity TCP port directly (mutually exclusive with --project-path). |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/hatayama/uloopmcp --skill uloop-get-hierarchy获取Unity层次结构。使用场合:检查场景结构、探索游戏对象、检查父子关系或当用户询问层次结构时。返回场景的 GameObject 树及其组件。 来源:hatayama/uloopmcp。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/hatayama/uloopmcp --skill uloop-get-hierarchy 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/hatayama/uloopmcp