unity-mcp/MCPForUnity/Editor/Resources
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
..
Editor feat: replace prefab stage actions with headless modify_contents (#635) 2026-01-26 10:53:44 -08:00
MenuItems HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Project HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Scene v9 pre-release pruning (#528) 2026-01-07 18:51:51 -04:00
Tests Fix manage prefabs (#405) 2025-11-28 18:47:11 -04:00
Editor.meta Move Get commands to editor resources + Run Python tests every update (#368) 2025-11-05 16:06:48 -04:00
McpForUnityResourceAttribute.cs Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
McpForUnityResourceAttribute.cs.meta Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
MenuItems.meta Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
Project.meta Move Get commands to editor resources + Run Python tests every update (#368) 2025-11-05 16:06:48 -04:00
Scene.meta 🎮 GameObject Toolset Redesign and Streamlining (#518) 2026-01-06 10:13:45 -08:00
Tests.meta Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00