Setting the values of bult-in arrays elements.

I have the following array:

var positions : Vector3[] = new Vector3 [3];

An i would like to set their values like:

positions = (Vector3(0, 0, 0), Vector3(0, 0, 1))

But i don’t know how…

Do i need to specify the element number, like “positions[0] = Vector3(0, 0, 0)”, or is there a way to do the easy way?

Thanks.

var positions = [Vector3(0, 0, 0), Vector3(0, 0, 1)];

–Eric

Thank you!