gameobject-component-list-all

List UnityEngine.Component-derived C# class names with pagination.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discover and enumerate UnityEngine.Component-derived types to speed up component-based tooling and editor scripting, especially for the gameobject-component-add workflow.

Core Features & Use Cases

  • Enumerates all C# types that derive from UnityEngine.Component to provide a definitive reference list.
  • Facilitates quick lookups for component names used in Unity editor tooling and automation scripts.
  • Works with pagination to return manageable results for large component sets.

Quick Start

List all UnityEngine.Component-derived class names.

Frequently Asked Questions about gameobject-component-list-all

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

FAQPage Schema
How do I list all Unity Component-derived type names in C#?

To list Unity Component-derived type names in C#, use this Skill to identify and enumerate all classes deriving from UnityEngine.Component. It returns a structured, paginated list of matching component names to manage large outputs effectively.

What's the best way to find UnityEngine.Component types for editor tooling?

Finding UnityEngine.Component types for editor tooling is done by enumerating all C# classes derived from UnityEngine.Component. This Skill provides a definitive reference list, facilitating quick lookups for automation scripts and component-based workflows.

Can I search for specific Unity component names instead of listing everything?

Yes, you can search for specific Unity component names by providing a search input. The Skill accepts search, page, and pageSize parameters to filter and paginate results, returning only matching component names with pagination metadata.

How does pagination work when enumerating large sets of Unity components?

Pagination manages large outputs when enumerating Unity components by accepting page and pageSize inputs. This returns a structured list of matching component names with pagination metadata, ensuring results remain manageable during component discovery.

Does this component discovery workflow support adding components to a gameobject?

Yes, this component discovery workflow supports adding components to a gameobject. It enumerates UnityEngine.Component-derived types specifically to aid tooling like the gameobject-component-add workflow, providing the required type names for automation.

Why do I need a definitive list of Component-derived types for Unity development?

You need a definitive list of Component-derived types for Unity development to speed up editor scripting and component-based tooling. It solves the problem of manually discovering valid types by automatically identifying all C# classes derived from UnityEngine.Component.