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