Agent SkillsBesty0728/Unity-Skills › unity-manual-component

unity-manual-component

GitHub

提供Unity编辑器中手动添加、配置、重排和复制组件的UI操作指南,适用于少量对象的单次Inspector工作流。

SkillsForUnity/unity-skills~/skills/manual-component/SKILL.md Besty0728/Unity-Skills

Trigger Scenarios

向游戏对象添加单个组件 在检查器中调整组件字段 对单个对象上的组件进行排序 将组件值复制到另一个对象

Install

npx skills add Besty0728/Unity-Skills --skill unity-manual-component -g -y
More Options

Non-standard path

npx skills add https://github.com/Besty0728/Unity-Skills/tree/main/SkillsForUnity/unity-skills~/skills/manual-component -g -y

Use without installing

npx skills use Besty0728/Unity-Skills@unity-manual-component

指定 Agent (Claude Code)

npx skills add Besty0728/Unity-Skills --skill unity-manual-component -a claude-code -g -y

安装 repo 全部 skill

npx skills add Besty0728/Unity-Skills --all -g -y

预览 repo 内 skill

npx skills add Besty0728/Unity-Skills --list

SKILL.md

Frontmatter
{
    "name": "unity-manual-component",
    "description": "Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation."
}

Triggers

  • Adding a single component to a GameObject
  • Tuning component fields in the Inspector
  • Reordering components on one object
  • Copying component values to another object

Manual Component Tasks

Step-by-step instructions for component operations inside the Unity Editor. Paths assume the default English Unity UI; translate the labels into the user's Unity language when replying.

When to guide manually vs automate

Guide manually when the user can finish the task in 3 clicks or fewer: adding one common component, tweaking a few exposed fields, or copying a single component value.

Automate when the task involves adding components to many objects, batch-configuring serialized fields, reflecting over property names, or enabling/disabling many components at once — use the component REST module instead.

Add a component

Step 1 — Select the GameObject

Select the target object in the Hierarchy or Scene view.

Step 2 — Open Add Component

At the bottom of the Inspector, click Add Component.

Step 3 — Choose the component

  • Type a name in the search box (e.g., Rigidbody).
  • Or navigate the category list (Physics > Rigidbody).
  • Click the component to add it.

Alternative paths:

  • Component > Physics > Rigidbody
  • Component > Mesh > Mesh Renderer
  • Component > Audio > Audio Source

Configure common fields

Step 1 — Expand the component in the Inspector

Click the component header if it is collapsed.

Step 2 — Edit exposed fields

  • Drag sliders or numeric fields.
  • Click color swatches to open the color picker.
  • Drag asset references (Materials, AudioClips, Prefabs) into object fields.
  • Toggle checkboxes for bool fields.
  • Choose enum values from dropdowns.

Tip: Hover a field label for the tooltip. The field name shown in the Inspector is the human-readable label, not always the exact serialized property name.

Reorder components

Step 1 — Drag the component header

In the Inspector, click and drag the grey header bar of a component.

Step 2 — Drop it into the desired position

A horizontal blue line indicates the drop position. Release to reorder.

Note: The Transform component is always first and cannot be moved.

Copy and paste component values

Step 1 — Copy the source component

Click the gear icon on the component header and choose Copy Component.

Step 2 — Paste onto the target

Select the destination GameObject, click the gear icon on the matching component (or Add Component if it is missing), and choose Paste Component Values.

To paste the whole component including its type:

  • Choose Paste Component As New from the gear menu.

Remove a component

Step 1 — Open the component context menu

Click the gear icon on the component header.

Step 2 — Remove

Choose Remove Component. Unity may warn about missing script references if other systems depend on it.

Automate instead?

If the user wants to add or configure components on many objects, batch-modify serialized properties, or copy values across many objects, switch to the REST module:

Version History

  • 5ee8388 Current 2026-08-17 04:11

Same Skill Collection

SkillsForUnity/unity-skills~/skills/addressables-design/SKILL.md
SkillsForUnity/unity-skills~/skills/adr/SKILL.md
SkillsForUnity/unity-skills~/skills/animator/SKILL.md
SkillsForUnity/unity-skills~/skills/behavior/SKILL.md
SkillsForUnity/unity-skills~/skills/blueprints/SKILL.md
SkillsForUnity/unity-skills~/skills/event/SKILL.md
SkillsForUnity/unity-skills~/skills/graphics/SKILL.md
SkillsForUnity/unity-skills~/skills/history/SKILL.md
SkillsForUnity/unity-skills~/skills/manual-gameobject/SKILL.md
SkillsForUnity/unity-skills~/skills/manual-material/SKILL.md
SkillsForUnity/unity-skills~/skills/manual-scene/SKILL.md
SkillsForUnity/unity-skills~/skills/material/SKILL.md
SkillsForUnity/unity-skills~/skills/netcode-design/SKILL.md
SkillsForUnity/unity-skills~/skills/netcode/SKILL.md
SkillsForUnity/unity-skills~/skills/perception/SKILL.md
SkillsForUnity/unity-skills~/skills/pico-design/SKILL.md
SkillsForUnity/unity-skills~/skills/primetween/SKILL.md
SkillsForUnity/unity-skills~/skills/probuilder/SKILL.md
SkillsForUnity/unity-skills~/skills/profiler/SKILL.md
SkillsForUnity/unity-skills~/skills/project-scout/SKILL.md
SkillsForUnity/unity-skills~/skills/sample/SKILL.md
SkillsForUnity/unity-skills~/skills/shadergraph-design/SKILL.md
SkillsForUnity/unity-skills~/skills/SKILL.md
SkillsForUnity/unity-skills~/skills/smart/SKILL.md
SkillsForUnity/unity-skills~/skills/unity-cli/SKILL.md
SkillsForUnity/unity-skills~/skills/yaml-editing/SKILL.md
SkillsForUnity/unity-skills~/SKILL.md
SkillsForUnity/unity-skills~/skills/architecture/SKILL.md
SkillsForUnity/unity-skills~/skills/asmdef/SKILL.md
SkillsForUnity/unity-skills~/skills/asset/SKILL.md
SkillsForUnity/unity-skills~/skills/async/SKILL.md
SkillsForUnity/unity-skills~/skills/batch/SKILL.md
SkillsForUnity/unity-skills~/skills/bookmark/SKILL.md
SkillsForUnity/unity-skills~/skills/camera/SKILL.md
SkillsForUnity/unity-skills~/skills/cinemachine/SKILL.md
SkillsForUnity/unity-skills~/skills/cleaner/SKILL.md
SkillsForUnity/unity-skills~/skills/component/SKILL.md
SkillsForUnity/unity-skills~/skills/console/SKILL.md
SkillsForUnity/unity-skills~/skills/debug/SKILL.md
SkillsForUnity/unity-skills~/skills/decal/SKILL.md
SkillsForUnity/unity-skills~/skills/dotween-design/SKILL.md
SkillsForUnity/unity-skills~/skills/dotween/SKILL.md
SkillsForUnity/unity-skills~/skills/editor/SKILL.md
SkillsForUnity/unity-skills~/skills/gameobject/SKILL.md
SkillsForUnity/unity-skills~/skills/hybridclr/SKILL.md
SkillsForUnity/unity-skills~/skills/importer/SKILL.md
SkillsForUnity/unity-skills~/skills/inspector/SKILL.md
SkillsForUnity/unity-skills~/skills/light/SKILL.md
SkillsForUnity/unity-skills~/skills/navmesh/SKILL.md

Metadata

Files
0
Version
5ee8388
Hash
a18e94ca
Indexed
2026-08-17 04:11

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 04:59
浙ICP备14020137号-1 $mapa de visitantes$