unity_gameobject_create
Creates a new GameObject in the Unity scene with optional primitive type, parent, 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 | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| scale | No | ||
| parent | No | Path or name of parent GameObject (optional) | |
| position | No | ||
| rotation | No | ||
| primitiveType | No | Optional primitive: Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty |