void UpdateSliders(float s1, float s2, float s3) { if (_mode == 0) { slider1.SetColor(new Color(s1, 0, 0)); slider2.SetColor(new Color(0, s2, 0)); slider3.SetColor(new Color(0, 0, s3)); } else { slider1.SetColor(SColor.HSVToRGB(s1, 1, 1)); slider2.SetColor(SColor.HSVToRGB(s1, s2, 1)); slider3.SetColor(SColor.HSVToRGB(s1, 1, s3)); } //colorOutput.color = color; }
public Track(Color color, string name) { this.Scol = new SColor(color); this.name = name; }
public Track(Color color) { this.Scol = new SColor(color); name = "track: " + color.ToString(); }