uloop-get-menu-items

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

uloop 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

参数

ParameterTypeDefaultDescription
--filter-text
string-Filter text
--filter-type
string
contains
Filter type:
contains
,
exact
,
startswith
--max-count
integer
200
Maximum number of items
--include-validation
boolean
false
Include validation functions
参数类型默认值说明
--filter-text
字符串-过滤文本
--filter-type
字符串
contains
过滤类型:
contains
(包含)、
exact
(精确匹配)、
startswith
(开头匹配)
--max-count
整数
200
最大返回条目数
--include-validation
布尔值
false
包含验证函数

Examples

示例

bash
undefined
bash
undefined

List 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
undefined
uloop get-menu-items --filter-text "File/Save" --filter-type exact
undefined

Output

输出

Returns JSON array of menu items with paths and metadata.
返回包含路径和元数据的菜单项JSON数组。

Notes

注意事项

Use with
uloop execute-menu-item
to run discovered menu commands.
搭配
uloop execute-menu-item
使用,可运行已发现的菜单命令。