uloop-control-play-mode
Original:🇺🇸 English
Translated
Control Unity Editor play mode. Use when: starting/stopping/pausing play mode, testing game behavior, or when user asks to play or stop. Controls play/stop/pause of Unity Editor.
8installs
Sourcehatayama/uloopmcp
Added on
NPX Install
npx skill4agent add hatayama/uloopmcp uloop-control-play-modeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →uloop control-play-mode
Control Unity Editor play mode (play/stop/pause).
Usage
bash
uloop control-play-mode [options]Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| string | | Action to perform: |
Global Options
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
Examples
bash
# 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 PauseOutput
Returns JSON with the current play mode state:
- : Whether Unity is currently in play mode
IsPlaying - : Whether play mode is paused
IsPaused - : Description of the action performed
Message
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