unity_material_create
Create a material asset with a specified shader, color, and properties. Define the save path and optionally overwrite existing materials.
Instructions
Create a new material asset with a specified shader and properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Save path (e.g. 'Assets/Materials/MyMat.mat') | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| color | No | ||
| shader | No | Shader name (e.g. 'Standard', 'Universal Render Pipeline/Lit') | |
| overwrite | No | Replace an existing material (default false). | |
| properties | No | Additional shader properties as key-value pairs |