private void OnColorChanging(ColorAndPercent color) { _currentColor = color; _myLine.startColor = color.color; _myLine.endColor = color.color; _myYarnBall.color = color.color; }
public ColorAndPercent(ColorAndPercent col) { this.color = col.color; this.percent = col.percent; this.pixelsCounter = col.pixelsCounter; this.compared = col.compared; }