EditorButton
EditorButton copied to clipboard
Enum Drawer
Great work! You're missing the Enum drawer, I added it myself, by checking the base type. Changed in the method GetParameterDrawer:
if (typeDrawer.TryGetValue (parameterType, out drawer)) { return drawer; } else if (typeDrawer.TryGetValue(parameterType.BaseType, out drawer)) // HERE { return drawer; }
Then you add the corresponding content to the typeDisplayName and typeDrawer dictionaries.
Thanks for the work!