BaseTool
BaseTool copied to clipboard
CustomDrawers are not properly displayed if they have `IfAttribute`
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;