create_prefab_from_entity
Save any existing entity as a reusable prefab file in your project. The current level stays unmodified, so you can instantiate the saved prefab when needed.
Instructions
Write a prefab file to disk from an existing entity.
The path is relative to the project root. The level is not modified;
use instantiate_prefab afterwards to place the saved prefab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| prefab_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |