What problem does it solve?
Unity projects often require repetitive, manual creation, deletion, and configuration of GameObjects, leading to slow scene setup, human errors, and inconsistent results.
Core Features & Use Cases
- Single-object operations: create, delete, rename, and transform a single GameObject.
- Batch operations: create, delete, rename, transform, and set properties on multiple objects in one call to reduce API traffic.
- Query & inspection: find objects by name, tag, layer, or component and retrieve detailed information.
- Use Case: quickly assemble a test scene by programmatically generating several objects, wiring their parents and transforms, and preparing a ready-to-run setup.
Quick Start
Use the Unity Skills tool to perform batch creation and transformation, for example:
- Create 3 cubes: unity_skills.call_skill("gameobject_create_batch", items=[{"name": "Cube1", "primitiveType": "Cube", "x": 0}, {"name": "Cube2", "primitiveType": "Cube", "x": 2}, {"name": "Cube3", "primitiveType": "Cube", "x": 4}])
- Then set their transforms: unity_skills.call_skill("gameobject_set_transform_batch", items=[{"name": "Cube1", "posY": 1}, {"name": "Cube2", "posY": 1}, {"name": "Cube3", "posY": 1}])