I’m getting this warning for a false positive:
Enum ImageResolutionType has multiple entries with the same display name, this prevents selection in EnumPopup.
Because I’m using this kind of Enum:
public enum ImageResolutionType
{
[InspectorName("Game Screen")]
Game,
// separator in enum popup
[InspectorName("")]
SEPARATOR_01,
[InspectorName("Icon (128 x 128)")]
Resolution_Icon_128,
// separator in enum popup
[InspectorName("")]
SEPARATOR_02,
[InspectorName("Cubemap (128)")]
Resolution_Cubemap_128,
}
Which is supposed to create separators like this:
That warning is wrong. Or is there a new way to create separators?