unity_asset_instantiate_prefab
Instantiates a prefab asset into the current Unity scene. Specify position, rotation, and parent to control placement.
Instructions
Instantiate a prefab into the current scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the instantiated object | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| parent | No | Parent GameObject path (optional) | |
| position | No | ||
| rotation | No | ||
| prefabPath | Yes | Path to the prefab asset (e.g. 'Assets/Prefabs/Enemy.prefab') |