gameobject-create
Create new GameObjects in Unity scenes or prefabs with specified transform properties to streamline 3D object creation workflows.
Instructions
Create a new GameObject in opened Prefab or in a Scene. If needed - provide proper 'position', 'rotation' and 'scale' to reduce amount of operations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new GameObject. | |
| parentGameObjectRef | No | Parent GameObject reference. If not provided, the GameObject will be created at the root of the scene or prefab. Schema: {"name":"string"} or {"instanceID":int} or {"path":"hierarchy/path"} | |
| position | No | Transform position of the GameObject. Schema: {"x":0,"y":0,"z":0} | |
| rotation | No | Transform rotation of the GameObject. Euler angles in degrees. Schema: {"x":0,"y":0,"z":0} | |
| scale | No | Transform scale of the GameObject. Schema: {"x":1,"y":1,"z":1} | |
| isLocalSpace | No | World or Local space of transform. | false |
| primitiveType | No | Values: [Cube, Sphere, Capsule, Cylinder, Plane, Quad] |