create_prefab
Create a prefab in Unity, optionally adding a MonoBehaviour component and setting serialized field values.
Instructions
Creates a prefab with optional MonoBehaviour script and serialized field values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefabName | Yes | The name of the prefab to create | |
| fieldValues | No | Optional JSON object of serialized field values to apply to the prefab | |
| componentName | No | The name of the MonoBehaviour Component to add to the prefab (optional) |