gameobject-create

Create a GameObject in an opened Prefab or active Scene from JSON.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill gameobject-create-ivanmurzak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-create
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/gameobject-create
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill gameobject-create-ivanmurzak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to create a new GameObject directly in the opened Prefab or the active Scene, reducing manual steps and setup time.

Core Features & Use Cases

  • Create a GameObject with a specified name and optional parent reference.
  • Apply position, rotation, and scale to place it accurately within an existing hierarchy.
  • Return a reference to the created object to confirm success and enable chaining.

Quick Start

Provide a JSON payload containing the required name and optional transform data to create the GameObject in the opened prefab or active scene.

Frequently Asked Questions about gameobject-create

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

FAQPage Schema
How do I create a GameObject in Unity from a structured JSON payload?

Yes, you can create a GameObject in an opened Prefab or the active Unity Scene. The Skill supports setting the object's name, optional parent reference, and transform data including position, rotation, and scale to place it within the hierarchy.

Can I set the position, rotation, and scale when creating a Unity GameObject via API?

Yes, you can set position, rotation, and scale when creating a Unity GameObject. The Skill accepts transform data within the structured JSON payload to accurately place the object within an existing hierarchy in the Scene or Prefab.

What's the best way to automate GameObject instantiation with a specific parent in Unity?

No special dependencies are required to create GameObjects in Unity scenes or prefabs. You need an active Unity Scene or an opened Prefab, and a structured JSON payload containing the object's name and optional transform or parent data.

Do I need to open a specific Unity Scene or Prefab before creating a GameObject?

The main limitation is that the Skill only creates GameObjects in the currently active Scene or opened Prefab. It requires a structured JSON payload for input and does not support opening new scenes or prefabs autonomously.