金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

uloop-control-play-mode

uloop-control-play-mode 是面向软件开发的 Agent Skill,来自 hatayama/uLoopMCP。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

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.

SKILL.md

下载 MD ↓
nameuloop-control-play-mode
descriptionControl 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.

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

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

来源:hatayama/uLoopMCP · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本