uloop-control-play-mode

star 5

Control Unity Editor play mode (play/stop/pause). Use when you need to: (1) Start play mode to test game behavior, (2) Stop play mode to return to edit mode, (3) Pause play mode for frame-by-frame inspection.

hatayama By hatayama schedule Updated 3/7/2026

name: uloop-control-play-mode description: "Control Unity Editor play mode (play/stop/pause). Use when you need to: (1) Start play mode to test game behavior, (2) Stop play mode to return to edit mode, (3) Pause play mode for frame-by-frame inspection."

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)
-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 mode
  • IsPaused: Whether play mode is paused
  • Message: 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
Install via CLI
npx skills add https://github.com/hatayama/unity-ai-cli-bridge --skill uloop-control-play-mode
Repository Details
star Stars 5
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator