BaseTool icon indicating copy to clipboard operation
BaseTool copied to clipboard

CustomDrawers are not properly displayed if they have `IfAttribute`

Open DarkRewar opened this issue 8 months ago • 1 comments

If a custom drawer also has a ConditionalAttribute like IfAttribute, the element isn't drawn properly in the inspector.

public bool DisplayCooldown;

[If("DisplayCooldown")]
public Cooldown CooldownIf = 1.1f;
image

DarkRewar avatar May 29 '24 17:05 DarkRewar