Script Update Or Create

Write a `.cs` script file (create or overwrite) with the provided C# code. Validates syntax via Roslyn before write — invalid code is rejected with error details and the file is left untouched. Refreshes the AssetDatabase and delivers the final result via `requestId` after Unity finishes the triggered compilation. Use 'script-read' to inspect existing content first.

gabrielmoreira Updated 17 repo stars

File contents

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/IvanMurzak@Unity-MCP/Unity-MCP-Plugin/.claude/skills/script-update-or-create commit a952159d56

Frequently asked questions

npx skillmds@latest add gabrielmoreira/script-update-or-create