uloop-execute-menu-item
21
总安装量
21
周安装量
#17598
全站排名
安装命令
npx skills add https://github.com/hatayama/uloopmcp --skill uloop-execute-menu-item
Agent 安装分布
codex
21
amp
20
gemini-cli
20
github-copilot
20
kimi-cli
20
opencode
20
Skill 文档
uloop execute-menu-item
Execute Unity MenuItem.
Usage
uloop execute-menu-item --menu-item-path "<path>"
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
--menu-item-path |
string | – | Menu item path (e.g., “GameObject/Create Empty”) |
--use-reflection-fallback |
boolean | true |
Use reflection fallback |
Global Options
| Option | Description |
|---|---|
--project-path <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 <port> |
Specify Unity TCP port directly (mutually exclusive with --project-path). |
Examples
# Create empty GameObject
uloop execute-menu-item --menu-item-path "GameObject/Create Empty"
# Save scene
uloop execute-menu-item --menu-item-path "File/Save"
# Open project settings
uloop execute-menu-item --menu-item-path "Edit/Project Settings..."
Output
Returns JSON with execution result.
Notes
- Use
uloop get-menu-itemsto discover available menu paths - Some menu items may require specific context or selection