ShowIf
Shows a Property when a condition is met.

public bool enableFeature;
[ShowIf(nameof(enableFeature))]
public int featureDependentField;
public bool showWhenFalse;
[ShowIf(nameof(showWhenFalse), true)]
public float hideWhenFalseField;
Last updated