AgentSkillsCN

uloop-get-menu-items

通过uloop CLI获取Unity菜单项信息。适用于以下场景:(1) 发现Unity编辑器中可用的菜单命令;(2) 寻找可用于自动化的菜单路径;(3) 为以编程方式执行菜单项做好准备。

SKILL.md
--- frontmatter
name: uloop-get-menu-items
description: "Retrieve Unity MenuItems via uloop CLI. Use when you need to: (1) Discover available menu commands in Unity Editor, (2) Find menu paths for automation, (3) Prepare for executing menu items programmatically."

uloop get-menu-items

Retrieve Unity MenuItems.

Usage

bash
uloop get-menu-items [options]

Parameters

ParameterTypeDefaultDescription
--filter-textstring-Filter text
--filter-typestringcontainsFilter type: contains, exact, startswith
--max-countinteger200Maximum number of items
--include-validationbooleanfalseInclude validation functions

Examples

bash
# List all menu items
uloop get-menu-items

# Filter by text
uloop get-menu-items --filter-text "GameObject"

# Exact match
uloop get-menu-items --filter-text "File/Save" --filter-type exact

Output

Returns JSON array of menu items with paths and metadata.

Notes

Use with uloop execute-menu-item to run discovered menu commands.