Hi guys,
in one of my scripts I create a vector3 array :
private var listPoints:Vector3[];
Later in the code I copy the data from another vector3 array :
listPoints=points;
How do I empty the array?
I’ve tested listPoints.Clear but the console display this error:
Expressions in statements must only be executed for their side-effects.
Thanks in advance