Ejemplo n.º 1
0
 public ShowIfAttribute(string propertyName, object propertyValue = null, object otherPropertyValue = null, bool indent = false, ShowIfMode mode = ShowIfMode.Hidden)
 {
     this.propName       = propertyName;
     this.propValue      = propertyValue;
     this.otherPropValue = otherPropertyValue;
     this.indent         = indent;
     this.mode           = mode;
 }
Ejemplo n.º 2
0
 public ShowLargeHeaderIf(string name, string color, string propertyName, object propertyValue = null, object otherPropertyValue = null, bool indent = false, ShowIfMode mode = ShowIfMode.Hidden) : base(propertyName, propertyValue, otherPropertyValue, indent, mode)
 {
     this.name  = name;
     this.color = color;
 }
Ejemplo n.º 3
0
 public ShowRangeIfAttribute(float min, float max, string propertyName, object propertyValue = null, object otherPropertyValue = null, bool indent = false, ShowIfMode mode = ShowIfMode.Hidden) : base(propertyName, propertyValue, otherPropertyValue, indent, mode)
 {
     this.min = min;
     this.max = max;
 }