unity-mcp/TestProjects/UnityMCPTests/Assets
dsarno 17eb171e31
feat: replace prefab stage actions with headless modify_contents (#635)
Removes stage-based prefab editing (open_stage, close_stage, save_open_stage)
in favor of headless modify_contents action that uses PrefabUtility.LoadPrefabContents
for reliable automated workflows without UI dialogs.

Changes:
- Remove open_stage, close_stage, save_open_stage actions
- Add modify_contents action for headless prefab editing
- Support targeting objects by name or path (e.g., "Turret/Barrel")
- Support transform, tag, layer, setActive, name, parent, components operations
- Skip saving when no modifications made (avoids unnecessary asset writes)
- Delete PrefabStage.cs resource (no longer needed)
- Update Python tool description to remove "stages" reference
- Consolidate tests from 29 to 14 (covers complex prefabs, reparenting, hierarchy loop guard)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 10:53:44 -08:00
..
Scenes Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Scripts fix: replace Editor-only McpLog with Debug.LogWarning in Runtime assembly (#535) 2026-01-08 07:59:05 -08:00
Tests feat: replace prefab stage actions with headless modify_contents (#635) 2026-01-26 10:53:44 -08:00
Packages.meta feature/Add new manage_scriptable_object tool (#489) 2025-12-28 20:15:50 -08:00
Scenes.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Scripts.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00
Temp.meta 🔧 Clean up & Consolidate Shared Services Across MCP Tools (#519) 2026-01-06 12:58:17 -08:00
Tests.meta Set up Unit tests (#220) 2025-08-15 21:24:55 -04:00