EnumToggleButtons on flag enums shows None (0) values as always on.

Issue #472 resolved
mSkull001 created an issue

Using the EnumToggleButton on a flag enum with a 'None = 0' value will display the None button as always on.

#!c#
[Flags]
public enum MyFlags
{
    None = 0,
    Windows64 = 1,
}

[EnumToggleButtons]
public MyFlags Flags;

you-are-nothing.PNG

This behaviour happens across all Unity versions.

Comments (1)

  1. Log in to comment