unity-gameobject

Create, delete, query, and transform Unity GameObjects in batch workflows.

1.6k|152|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-gameobject
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-gameobject
Source: https://github.com/Besty0728/Unity-Skills/tree/main/unity-skills/skills/gameobject
Command: npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-gameobject

SYSTEM DOCUMENTATION & REQUIREMENTS

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}])

Frequently Asked Questions about unity-gameobject

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity GameObject creation and transformation for scene setup?

Automate Unity GameObject creation and transformation by using batch operations to programmatically generate multiple objects, set their position, rotation, scale, and parenting in a single call, which reduces API traffic and prepares a ready-to-run scene setup.

What is the best way to batch create multiple primitive objects in Unity?

The best way to batch create multiple primitive objects in Unity is using a batch creation command that accepts an array of items, allowing you to define the name, primitive type, and initial position for several objects simultaneously in one operation.

Can I query Unity GameObjects by name, tag, or layer programmatically?

Yes, you can query Unity GameObjects by name, tag, layer, or component. The querying and inspection feature retrieves detailed information about specific objects, allowing you to find and verify objects within complex scene hierarchies.

Does batch transformation support parenting and hierarchy setup for Unity GameObjects?

Yes, batch transformation supports parenting and hierarchy setup for Unity GameObjects. It allows parameterized control over name, position, rotation, scale, and parenting, making it suitable for configuring simple or complex object hierarchies during scene setup.

When should I use batch commands instead of single-object operations in Unity?

You should use batch commands instead of single-object operations in Unity whenever you need to modify two or more objects. The system enforces efficient usage patterns by requiring batch commands for 2+ objects to reduce API traffic and prevent manual errors.