EditorButton icon indicating copy to clipboard operation
EditorButton copied to clipboard

Enum Drawer

Open Novack opened this issue 7 years ago • 0 comments

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!

Novack avatar Jun 15 '18 19:06 Novack