uloop-execute-menu-item

Installation
SKILL.md

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> Optional. Use only when the target Unity project is not the current directory.

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 execute-dynamic-code to discover available menu paths if needed
  • Some menu items may require specific context or selection
Related skills

More from hatayama/unity-cli-loop

Installs
2
GitHub Stars
290
First Seen
Apr 16, 2026