gasgiant / Markup-Attributes

A Unity Editor extension for customizing inspector layout with attributes.
MIT License
289 stars 11 forks source link

Fix NullReferenceException when [HideIf] compares a field's value with null when the field's value is actually null #10

Open forestrf opened 2 years ago

forestrf commented 2 years ago

I encountered this bug when both value and memberValue were null. This is the fix I made.

gasgiant commented 2 years ago

Thanks! I'll add it in the next patch.