/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name">The descriptive name of the value</param>
 /// <param name="property">The property to manipulate</param>
 /// <param name="min">The minimum value</param>
 /// <param name="max">The maximum value</param>
 /// <param name="step">The step for increaseing/decreasing</param>
 public NumericTweakable(string name, PropertyInvoker <T> property, T min, T max, T step) :
     base(name)
 {
     _property = property;
     _minimum  = min;
     _maximum  = max;
     _step     = step;
 }
 public IntTweakable(string name, PropertyInvoker <int> property, int min, int max, int step) :
     base(name, property, min, max, step)
 {
 }
Beispiel #3
0
 public FloatTweakable(string name, PropertyInvoker <float> property, float min, float max, float step) :
     base(name, property, min, max, step)
 {
 }
Beispiel #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name"></param>
 /// <param name="property">The boolean property to manipulate</param>
 public BooleanTweakable(string name, PropertyInvoker <bool> property) :
     base(name)
 {
     _property = property;
 }