Skip to content

Enum Drawer #3

@Novack

Description

@Novack

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions