TylerTemp / SaintsField

A Unity Inspector extension tool focusing on script fields inspector enhancement
MIT License
154 stars 9 forks source link

Is there a way to hide the Required error box when EnableIf is disabling the field? #61

Closed laurentopia closed 1 month ago

laurentopia commented 1 month ago

In this scenario image

public bool hugsGround; [EnableIf(nameof(hugsGround)), Required("tada", -1)] public Transform rotationPivot;

laurentopia commented 1 month ago

never mind, I'll just use ShowIf :)