uloop-execute-menu-item

Solid

Execute Unity Editor menu commands programmatically. Use when you need to: (1) Trigger menu commands like save, build, or refresh, (2) Automate editor actions via menu paths, (3) Run custom menu items defined in project scripts.

AI & Automation 368 stars 32 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
50
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# uloop execute-menu-item Execute Unity MenuItem. ## Usage ```bash 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 | ## Examples ```bash # 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 execute-dynamic-code` to discover available menu paths if needed - Some menu items may require specific context or selection

Details

Author
hatayama
Repository
hatayama/unity-cli-loop
Created
11 months ago
Last Updated
today
Language
C#
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category