unity_script_update
Update the source code of an existing C# script in Unity by specifying its asset path and new content.
Instructions
Update the contents of an existing C# script file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Asset path of the script | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| content | Yes | New full C# source code content |