About the bug of Show If Group Attribute

Issue #650 invalid
黄海波 created an issue

When Value = InfoMessageType.Info,it will show all group in inspector;

But when Value = InfoMessageType.Warning,it will show nothing in inspector;

The same bug appears on “Show If Attribute“;

Comments (2)

  1. Tor Esa Vestergaard

    This is not a bug, I'm afraid, but expected behaviour. EnumField is one ShowIfGroup, and you are giving it two different values - thus, the first value "wins" and is the one that is used for the ShowIfGroup's check. You need to make two different ShowIfGroups to get two different conditions.

  2. Log in to comment