editor-application-set-state
Installation
SKILL.md
Editor / Application / Set State
Control the Unity Editor application state. You can start, stop, or pause the 'playmode'. Use 'editor-application-get-state' tool to get the current state first.
Inputs
isPlaying(defaultfalse) — setsEditorApplication.isPlaying.isPaused(defaultfalse) — setsEditorApplication.isPaused.
Behavior
Refuses any state change while EditorUtility.scriptCompilationFailed is true — instead throws with the compilation error details so the caller can fix them first. On success returns the post-change EditorStatsData snapshot.