unity_renderer_set_material
Assign a material to a GameObject's renderer using asset and object paths, with an optional material slot index.
Instructions
Assign a material to a GameObject's renderer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| materialPath | Yes | Path to the material asset | |
| materialIndex | No | Material slot index (default: 0) | |
| gameObjectPath | Yes | Path to the target GameObject |