By CatyboyStudio
Disables the control according to the specified conditions
public bool Switch1; [DisableIf(nameof(Switch1))] public int Value1;