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