editor-field-creation

Community

Extend script property editing.

Authorkateusz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers in extending the editor's script inspector to support custom data types. It details how to implement the IFieldEditor interface for runtime polymorphic rendering of script properties discovered via reflection, handling boxing/unboxing patterns, and registering new editors with the FieldEditorRegistry.

Core Features & Use Cases

  • IFieldEditor Implementation: Create custom field editors for new types (e.g., Quaternion, Color, custom structs).
  • Reflection-Based Editing: Understand how the script inspector uses IFieldEditor to render arbitrary types at runtime.
  • Boxing/Unboxing Patterns: Correctly handle object boxing and unboxing for value types.
  • FieldEditorRegistry: Register custom field editors to make them discoverable by the script inspector.
  • Use Case: If game scripts use a custom Color struct, this Skill enables you to create a ColorFieldEditor that renders an intuitive color picker in the script inspector, allowing designers to easily adjust script-defined colors.

Quick Start

Show me how to create a new IFieldEditor for a custom Color struct, including its Draw method and registration in FieldEditorRegistry.

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-field-creation
Download link: https://github.com/kateusz/GameEngine/archive/main.zip#editor-field-creation

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.