asset_create_script
Generates and saves a new C# script in a Unity project. Specify the file name, content, and optional folder path to organize scripts efficiently within the Assets/Scripts directory.
Instructions
Create a new C# script in the Unity project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the script | |
fileName | Yes | Name of the script file (without .cs extension) | |
folder | No | Folder path relative to Assets/Scripts (optional) |