dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.57k stars 465 forks source link

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

Open AntoineProvost opened 1 year ago

AntoineProvost commented 1 year 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))]