ReadOnly and If together not working properly
Closed this issue · 0 comments
DarkRewar commented
When using a ReadOnlyAttribute
with both If
and IfNot
, the height still calculated
[ReadOnly, If(nameof(DisplayCooldown))]
public Cooldown SpellCooldown = 1f;
[ReadOnly, If(nameof(DisplayCooldown))]
public string Test;
[If(nameof(DisplayCooldown))]
public string Test2;
public bool DisplayCooldown = true;