public override void OnColorChanged() { if (slider.normalizedValue != Picker.GetColorParam(Type)) { listen = false; slider.normalizedValue = Picker.GetColorParam(Type); } }
public override void OnColorChanged() { var value = MinValue + (Picker.GetColorParam(Type) * (MaxValue - MinValue)); label.text = Prefix + Mathf.FloorToInt(value); }