Skip to main content

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.

Jump to install

Source facts

Repository
IvanMurzak/Unity-MCP
Last source activity
May 19, 2026 at 22:39
Detected SKILL.md language
English
Stars
4,213
Forks
376

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.