Skip to main content
Glama

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
NameRequiredDescriptionDefault
prefabAssetPathYesPath to the prefab asset. Example: "Assets/Prefabs/MyPrefab.prefab"
gameObjectPathYesGameObject path in the current active scene.
positionNoSpawn position. SCHEMA: {"x":0,"y":0,"z":0}
rotationNoSpawn rotation (Euler angles). SCHEMA: {"x":0,"y":0,"z":0}
scaleNoScale. SCHEMA: {"x":1,"y":1,"z":1}
isLocalSpaceNoWorld or Local space of transform.false

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/butterlatte-zhang/unity-ai-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server