Create Object
create_objectCreate new GameObjects in Unity scenes, choosing primitives, components, and prefabs for instantiation.
Instructions
Create new GameObject. components: comma-separated types to add on creation. primitive: Cube|Sphere|Cylinder|Capsule|Plane|Quad. prefab_path: instantiate from prefab asset. scene: create in named loaded scene (omit = active scene).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new GameObject | |
| scene | No | Target scene name when multiple scenes are loaded (omit = active scene) | |
| parent | No | Scene path of the parent (omit = scene root) | |
| primitive | No | Primitive mesh type: Cube|Sphere|Cylinder|Capsule|Plane|Quad | |
| components | No | Comma-separated component types to add on creation (e.g. 'Rigidbody,BoxCollider') | |
| prefab_path | No | Asset path to instantiate from prefab (e.g. Assets/Prefabs/Enemy.prefab) |