How do you print one or all of the vector3s in an array
to the console?
1 Answer
1C#
foreach(Vector3 vector in vectorArray)
print(vector);
javascript
for(var vector in vectorArray)
print(vector);
How do you print one or all of the vector3s in an array
to the console?
C#
foreach(Vector3 vector in vectorArray)
print(vector);
javascript
for(var vector in vectorArray)
print(vector);
foreach(Vector3 vector in vectorArray) { Debug.Log(vector.ToString()); } There, that wasn't so hard was it now?
– syclamoth