public override void UpdateColor(UIColorIndicator indicator) { GLColor[] colors = this.colors; if (colors == null) { colors = new GLColor[this.quantities.Length]; } for (int i = 0; i < this.quantities.Length; i++) { colors[i] = indicator.MapToColor(this.quantities[i]); } this.colors = colors; }
public abstract void UpdateColor(UIColorIndicator indicator);