gameobject-component-get

Retrieve component type, enabled state, and optional serialized fields from Unity GameObjects.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/lightvu25/Echoes --skill gameobject-component-get-lightvu25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-component-get
Source: https://github.com/lightvu25/Echoes/tree/main/SKILLS/gameobject-component-get
Command: npx skills add https://github.com/lightvu25/Echoes --skill gameobject-component-get-lightvu25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Get detailed information about a specific Component on a GameObject. Returns the component type, enabled state, and optionally serialized fields and properties to inspect data before modification.

Core Features & Use Cases

  • Retrieve component type, enabled state, and optional serialized fields and properties for a specified GameObject and component reference.
  • Ideal for debugging, auditing component configurations, and validating data before applying modifications in Unity projects.
  • Use Case Example: Inspect a Script or Transform component to confirm current settings prior to runtime changes.

Quick Start

Call the tool with a GameObject reference and a component reference to retrieve detailed component data.

Frequently Asked Questions about gameobject-component-get

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

FAQPage Schema
How do I inspect a Unity component on a GameObject to check its serialized fields before runtime?

To inspect a Unity component, you need the target GameObject and Component references. This retrieves the component type, enabled state, and optional serialized fields or properties to validate data before applying runtime modifications.

Can I retrieve the enabled state and component type of a GameObject in Unity for debugging?

Yes, you can retrieve the component type and enabled state for Unity debugging. By applying the inspection tool with the target GameObject and Component references, you get accurate metadata to audit configurations within scenes or prefabs.

Does Unity component inspection support deep serialization controls for nested fields?

Unity component inspection supports deep serialization controls and optional field inclusion. This allows you to adapt the serialized fields and properties output to your specific data auditing needs within Unity scenes or prefabs.

What is the best way to audit Unity GameObject configurations prior to making changes?

The best way to audit GameObject configurations is inspecting the specific component references. This retrieves the component type, enabled state, and serialized fields to confirm current settings and validate data before applying modifications.

Why do I need specific GameObject and Component references to inspect Unity data?

You need specific GameObject and Component references to retrieve accurate component metadata. Identifying the exact targets ensures the inspection tool returns the correct type, enabled state, and serialized fields for your debugging needs.

Limitations of Unity component inspection when auditing prefabs?

A limitation of Unity component inspection is that it requires exact GameObject and Component references to function. It is designed for reading type, enabled state, and serialized fields rather than applying modifications to prefabs.