/// <summary> /// Sets the color. /// </summary> /// <param name="color">Color.</param> public void SetColor(ColorHSV color) { currentColor = color; UpdateView(); }
/// <summary> /// Determines whether the specified object is equal to the current object. /// </summary> /// <param name="other">The object to compare with the current object.</param> /// <returns>true if the specified object is equal to the current object; otherwise, false.</returns> public bool Equals(ColorHSV other) { return(H == other.H && S == other.S && V == other.V && A == other.A); }
/// <summary> /// Sets the color. /// </summary> /// <param name="color">Color.</param> public void SetColor(Color32 color) { currentColorHSV = new ColorHSV(color); UpdateView(); }
/// <summary> /// Sets the color. /// </summary> /// <param name="color">Color.</param> public void SetColor(ColorHSV color) { currentColor = color; UpdateInputs(); }