unity-component

Manage Unity GameObject components and properties for editor automation.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-component-lrbjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-component
Source: https://github.com/lrbjk/FenShen_Remake_V0/tree/main/.codex/skills/unity-skills/skills/component
Command: npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-component-lrbjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes repetitive and error-prone manual work in the Unity Editor by automating adding, removing, listing, enabling, copying, and configuring components on GameObjects, including bulk updates across many objects.

Core Features & Use Cases

  • Add and Remove Components: Add or remove components on single objects or multiple objects in one operation to reduce API calls.
  • Inspect and Configure: List components, read all properties, set individual or batched properties using values, scene references, or project asset paths, and enable or disable components.
  • Copy and Batch Workflows: Copy components between objects and use batch skills for efficient scene setup such as physics or audio attachment across many GameObjects.
  • Use Case: Quickly add Rigidbody and Collider to multiple environment objects, set mass and collision settings, and verify results with a component list.

Quick Start

Use the unity-component skill to add a Rigidbody to the GameObject named Player and set its mass to 2.0.

Frequently Asked Questions about unity-component

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

FAQPage Schema
How do I batch add and configure Unity components on multiple GameObjects?

To batch manage Unity components, you can add, remove, and configure properties across multiple GameObjects in one operation. This automates repetitive scene setup tasks like attaching physics or audio components to many objects simultaneously.

Can I copy components between GameObjects in the Unity editor?

Yes, you can copy components between Unity GameObjects. This allows you to duplicate configurations and settings from one object to another, streamlining the process of applying consistent component setups across your scene.

How do I set component properties using scene references or asset paths in Unity?

You can set component properties by assigning values, scene references, or project asset paths. This enables precise configuration of individual or batched properties on GameObjects during scene setup and bulk updates.

What is the best way to automate enabling and listing components on Unity GameObjects?

The best way to automate component management is by listing all components, reading their properties, and enabling or disabling them programmatically. This ensures accurate configuration and verification of GameObject states.

Do I need exact component type names to manage Unity GameObject components?

Yes, you must provide exact case-sensitive componentType names when managing Unity components. This ensures the correct component is targeted during automation, preventing errors during batch operations and property assignments.

How do I identify specific GameObjects for component management in Unity?

You can identify GameObjects for component management using object identifiers such as name, instanceId, or path. This allows precise targeting of objects during automation and bulk updates across your scene.