A quesstion about vector3s

How do you print one or all of the vector3s in an array
to the console?

foreach(Vector3 vector in vectorArray) { Debug.Log(vector.ToString()); } There, that wasn't so hard was it now?

1 Answer

1

C#

foreach(Vector3 vector in vectorArray)
    print(vector);

javascript

for(var vector in vectorArray)
    print(vector);