uloop-control-play-mode
21
总安装量
18
周安装量
#17386
全站排名
安装命令
npx skills add https://github.com/hatayama/uloopmcp --skill uloop-control-play-mode
Agent 安装分布
codex
18
amp
17
gemini-cli
17
github-copilot
17
kimi-cli
17
opencode
17
Skill 文档
uloop control-play-mode
Control Unity Editor play mode (play/stop/pause).
Usage
uloop control-play-mode [options]
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
--action |
string | Play |
Action to perform: Play, Stop, Pause |
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
# Start play mode
uloop control-play-mode --action Play
# Stop play mode
uloop control-play-mode --action Stop
# Pause play mode
uloop control-play-mode --action Pause
Output
Returns JSON with the current play mode state:
IsPlaying: Whether Unity is currently in play modeIsPaused: Whether play mode is pausedMessage: Description of the action performed
Notes
- Play action starts the game in the Unity Editor (also resumes from pause)
- Stop action exits play mode and returns to edit mode
- Pause action pauses the game while remaining in play mode
- Useful for automated testing workflows