首页/ AI 技能 / @skilllib/skill-2117939930272413346
Skill站外收录 @skilllib/skill-2117939930272413346

uloop-control-play-mode

控制 Unity 编辑器的运行状态,支持启动、停止和暂停游戏模拟,实时反馈当前是否处于运行或暂停状态,适用于开发调试与自动化测试流程。

0.0 (0) 19 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# uloop control-play-mode Control Unity Editor play mode (play/stop/pause). ## Usage ```bash uloop control-play-mode [options] ``` ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | `--action` | string | `Play` | Action to perform: `Play`, `Stop`, `Pause` | ## 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 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

评论 0

还没有评论,来抢沙发。