Line Renderer SetColors

this won’t compile:

var color = Color (0.88, 0.90, 1.0, 0.0);
var alphaStep : float = 0.05;


function Update ()
{
	color.a += alphaStep;
	SetColors = (color, color);
}

according to the API doc SetColors requires 2 arguments color start color end.
This will compile only with 1 i.e. SetColors = (color); has something changed?

SetWidth doesn’t seem to work either.
SetPosition seems OK, enabled too.
puzzling!

That’s because you’re calling it wrong. It’s just SetColors(color, color), no “=”. I’m surprised it compiles with one, actually.