I'm really not an expert, but i think there are better ways to do what you are doing.
BUT a simple straight solution to this would be to use a multi dimensional Array
An array of arrays.
https://msdn.microsoft.com/en-us/library/2yd9wwz4.aspx
PSEUDO CODE
Vector3[,] array2D = new Vector3[,] { {StartPosition, CurrentPosition } };
I'm new to C# so this could be wrong.
You maybe want to use a list:
http://wiki.unity3d.com/index.php/Choosing_the_right_collection_type
↧