Skip to content

Conversation

@badandbest
Copy link

@badandbest badandbest commented Jan 9, 2026

Bug

Custom component editors only work if the type is an exact match. It has no support for derived component types.

Facepunch/sbox-issues#9822

Fix

I've made it use a simple scoring system to find the best editor.

The score given is based on the inheritance distance with exact matches being the best.

It also now supports interfaces as targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant