Closed DarkRewar closed 6 months ago
Like the IfAttribute worked, create a ConditionalAttribute that makes the field disabled or enabled depending on the expression.
IfAttribute
ConditionalAttribute
public bool IsStrong = true; [EnableIf(nameof(IsStrong))] public float Strength = 10f;
Like the
IfAttribute
worked, create aConditionalAttribute
that makes the field disabled or enabled depending on the expression.