ShowIf

Shows a Property when a condition is met.

Applied on Properties

public bool enableFeature;

[ShowIf(nameof(enableFeature))]
public int featureDependentField;

public bool showWhenFalse;
      
[ShowIf(nameof(showWhenFalse), true)]
public float hideWhenFalseField;

  

Last updated