Beispiel #1
0
 private void SliderChanged(float saturation, float value)
 {
     if (listen)
     {
         picker.AssignColor(ColorValues.Saturation, saturation);
         picker.AssignColor(ColorValues.Value, value);
     }
     listen = true;
 }
Beispiel #2
0
 private void SliderChanged(float newValue)
 {
     if (listen)
     {
         newValue = slider.normalizedValue;
         ColorPicker.AssignColor(type, newValue);
     }
     listen = true;
 }