editor-component-editors
CommunityBuild intuitive ECS component editors.
Software Engineering#dependency injection#ecs#gamedev#component editor#vectorpanel#imgui#properties panel#uipropertyrenderer
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.DrawComponentfor standardized collapsible UI, component headers, and remove buttons. - Vector Controls: Use
VectorPanelfor axis-colored vector (Vector2/Vector3) controls with reset functionality. - Primitive Property Editing: Leverage
UIPropertyRendererfor simpleint,float,bool,stringproperties. - 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 useComponentEditorRegistry.DrawComponentfor the overall structure,UIPropertyRendererfor an integerMaxHealthproperty, andVectorPanelfor aRespawnPosition(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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.