gameobject-modify

Modify GameObject fields and properties across multiple objects in an opened Prefab or Scene.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill gameobject-modify-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-modify
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/gameobject-modify
Command: npx skills add https://github.com/sprillion/gem_td --skill gameobject-modify-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually updating fields and properties across many GameObjects in a Prefab or Scene is error-prone and time-consuming; this Skill lets you apply the same set of changes in a single operation.

Core Features & Use Cases

  • Bulk edit: modify fields and properties for multiple GameObjects in a single pass.
  • Safe, tolerant updates: unknown or irrelevant fields are ignored, with a report of changes.
  • Use Case: update common components (e.g., transform, renderer) across a group of objects to ensure consistency in a prefab or scene.

Quick Start

Apply the same GameObject modifications to all targeted objects in the opened Prefab or Scene.

Frequently Asked Questions about gameobject-modify

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

FAQPage Schema
How do I modify multiple Unity GameObjects at once in a scene or prefab?

To bulk modify multiple Unity GameObjects at once, you apply a shared change set of field and property edits across targeted objects in an opened Prefab or Scene, applying the same modifications in a single pass.

What happens if I try to bulk edit a serialized field that does not exist on some GameObjects?

When bulk editing GameObjects, unknown or irrelevant serialized fields are ignored gracefully. The operation safely processes the valid changes and generates a report detailing exactly what changed and what was ignored.

Can I update common Unity components like transforms and renderers across a group of objects?

Yes, you can update common components like transforms and renderers across a group of objects. By providing aligned references and per-object serialized member edits, you ensure component consistency across the entire prefab or scene.

What is the best way to ensure consistency when applying the same property changes to many GameObjects?

The best way to ensure consistency is applying the same property changes to many GameObjects through a single bulk edit operation. This prevents manual update errors by applying aligned references and per-object serialized member edits simultaneously.

Do I need to manually select every GameObject in the scene before applying bulk modifications?

You provide aligned references and per-object serialized member edits to target the GameObjects in the opened Prefab or Scene. The bulk modification processes these targeted objects without requiring manual selection of every item.