assets-prefab-instantiate
Add prefabs to Unity scenes by specifying asset paths and transform parameters for precise object placement.
Instructions
Instantiates prefab in the current active scene. Use 'assets-find' tool to find prefab assets in the project.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefabAssetPath | Yes | Path to the prefab asset. Example: "Assets/Prefabs/MyPrefab.prefab" | |
| gameObjectPath | Yes | GameObject path in the current active scene. | |
| position | No | Spawn position. SCHEMA: {"x":0,"y":0,"z":0} | |
| rotation | No | Spawn rotation (Euler angles). SCHEMA: {"x":0,"y":0,"z":0} | |
| scale | No | Scale. SCHEMA: {"x":1,"y":1,"z":1} | |
| isLocalSpace | No | World or Local space of transform. | false |