dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.47k stars 463 forks source link

[Request] Add enum support to "EConditionOperator.And" and "EConditionOperator.Or" #374

Open AntoineProvost opened 11 months ago

AntoineProvost commented 11 months ago

Actually, the condition only take a string in parameter. If I want a "ShowIf" bool only in a certain enum it's not possible.

Something like that would be great : [ShowIf(EConditionOperator.And, "bool", ("enumFlag", EMyEnum.Case0))]