editor-component-editors

Community

Build intuitive ECS component editors.

Authorkateusz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers in creating intuitive and consistent ECS component editors for the editor's Properties panel. It ensures proper UI for various property types (vectors, primitives) and seamless integration with the ComponentEditorRegistry and Dependency Injection, preventing fragmented or poorly styled component UIs.

Core Features & Use Cases

  • IComponentEditor Interface: Implement the core interface for all component editors.
  • Consistent UI Wrapper: Utilize ComponentEditorRegistry.DrawComponent for standardized collapsible UI, component headers, and remove buttons.
  • Vector Controls: Use VectorPanel for axis-colored vector (Vector2/Vector3) controls with reset functionality.
  • Primitive Property Editing: Leverage UIPropertyRenderer for simple int, float, bool, string properties.
  • DI Registration: Ensure component editors are correctly registered in the DryIoc container.
  • Use Case: To create an editor for a new HealthComponent, this Skill guides you to use ComponentEditorRegistry.DrawComponent for the overall structure, UIPropertyRenderer for an integer MaxHealth property, and VectorPanel for a RespawnPosition (Vector3) property.

Quick Start

Guide me through creating a new component editor for a HealthComponent that displays an integer Health property and a Vector3 SpawnPosition property.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: editor-component-editors
Download link: https://github.com/kateusz/GameEngine/archive/main.zip#editor-component-editors

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.