unity_asset_instantiate_prefab
Add a prefab asset from your project into the current Unity scene by specifying its path and optional position, rotation, name, and parent.
Instructions
Instantiate a prefab into the current scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefabPath | Yes | Path to the prefab asset (e.g. 'Assets/Prefabs/Enemy.prefab') | |
| name | No | Name for the instantiated object | |
| position | No | ||
| rotation | No | ||
| parent | No | Parent GameObject path (optional) | |
| port | No | Target Unity instance port for parallel-safe routing. Get this from unity_select_instance. When working with multiple Unity instances, ALWAYS include this parameter. |