unity-scene
Installation
SKILL.md
Unity Scene Skills
Control Unity scenes, the containers that hold the GameObjects. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md.
When to use
- Opening, creating or saving scenes
- Loading scenes additively or switching the active scene
- Querying scene contents
Rules
scene_saveoverwrites the active scene's own file whenscenePathis omitted. A differentscenePathre-associates the active scene with that file (Save As); it does not copy. An untitled scene has no path, so it needsscenePath.scene_saveundo restores the on-disk.unityfile when the scene is closed. While the scene is open, undo does not rewrite the file; it marks the scene dirty, so save again to apply it.scene_savefails withSEMANTIC_INVALIDduring Play Mode, with a suggestededitor_stopretry. Exit Play Mode first.scene_create,scene_loadandscene_saveare high-risk writes. Other scene skills that modify state are gated by the schema'sapprovalBehavior.scene_screenshotcaptures the Game View (all cameras and UI; the live runtime frame in Play Mode), not the Scene view. For one Game Camera use cameracamera_screenshot.- For the detailed hierarchy tree or statistics, use the
perceptionmodule (hierarchy_describe,scene_summarize). DontDestroyOnLoadobjects appear in Play Mode as a pseudo-scene. They are found bygameobject_find, but the pseudo-scene cannot be unloaded or activated.