uloop-get-menu-items
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseuloop get-menu-items
uloop get-menu-items
Retrieve Unity MenuItems.
检索Unity MenuItems。
Usage
使用方法
bash
uloop get-menu-items [options]bash
uloop get-menu-items [options]Parameters
参数
| Parameter | Type | Default | Description |
|---|---|---|---|
| string | - | Filter text |
| string | | Filter type: |
| integer | | Maximum number of items |
| boolean | | Include validation functions |
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 字符串 | - | 过滤文本 |
| 字符串 | | 过滤类型: |
| 整数 | | 最大返回条目数 |
| 布尔值 | | 包含验证函数 |
Examples
示例
bash
undefinedbash
undefinedList all menu items
列出所有菜单项
uloop get-menu-items
uloop get-menu-items
Filter by text
按文本过滤
uloop get-menu-items --filter-text "GameObject"
uloop get-menu-items --filter-text "GameObject"
Exact match
精确匹配
uloop get-menu-items --filter-text "File/Save" --filter-type exact
undefineduloop get-menu-items --filter-text "File/Save" --filter-type exact
undefinedOutput
输出
Returns JSON array of menu items with paths and metadata.
返回包含路径和元数据的菜单项JSON数组。
Notes
注意事项
Use with to run discovered menu commands.
uloop execute-menu-item搭配使用,可运行已发现的菜单命令。
uloop execute-menu-item