unity_gameobject_create
Create a new GameObject in a Unity scene with optional primitive type (Cube, Sphere, etc.), parent assignment, and initial transform settings including position, rotation, and scale.
Instructions
Create a new GameObject in the scene. Can specify primitive type (Cube, Sphere, Capsule, Cylinder, Plane, Quad), parent, and initial transform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new GameObject | |
| primitiveType | No | Optional primitive: Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty | |
| parent | No | Path or name of parent GameObject (optional) | |
| position | No | ||
| rotation | No | ||
| scale | No | ||
| 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. |