unity-component

Manage Unity GameObject components with add, remove, list, copy, and edit operations.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-component-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-component
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/component
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-component-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of editing Unity GameObject components by letting you add, remove, inspect, copy, and update component data without manually hunting through the Inspector.

Core Features & Use Cases

  • Component management: Add or remove built-in and custom components from a GameObject.
  • Inspection and editing: List components, read their properties, and set fields or serialized Inspector values.
  • Multi-object workflows: Use batch operations to update many GameObjects efficiently.
  • Practical use cases: Attach physics components, toggle renderers or behaviours, copy settings between prefabs, and update script fields across a scene.

Quick Start

Ask the assistant to list the components on the selected GameObject and then add or update the Unity component you want.

Frequently Asked Questions about unity-component

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

FAQPage Schema
How do I add or remove Unity components on a GameObject without using the Inspector?

You can add or remove Unity components directly by targeting a GameObject and specifying the component type. This Skill handles built-in and custom scripts, applying changes to single or multiple objects in one pass.

Can I edit serialized properties and component fields across multiple Unity GameObjects at once?

Yes, batch operations allow you to update component fields and serialized properties across multiple GameObjects. You can efficiently modify physics setups, UI wiring, and custom script fields scene-wide.

What is the best way to copy component settings between Unity prefabs?

Copying component settings between prefabs is handled by reading the source component's serialized properties and applying them to the target. This ensures field values and reference bindings match without manual Inspector entry.

Does this approach work with custom C# scripts and built-in Unity physics components?

It works with both custom C# scripts and built-in Unity components. The Skill validates component-specific write rules, enabling safe field updates and reference binding for physics setup and custom behaviors alike.

How do I list and inspect components on a selected Unity GameObject?

To list and inspect components, target the selected GameObject and request a component overview. The Skill reads attached components and their serialized properties, providing inspection data without manual Inspector navigation.

When should I avoid batch operations for managing Unity components?

Avoid batch operations when GameObjects require unique component-specific write rules or distinct serialized property values. For highly individualized physics setups or UI wiring, single-object targeting ensures precise validation and avoids reference binding errors.