private static JSONVector3[] getJSONVector3Array(Vector3[] v) { List<JSONVector3> ls = new List<JSONVector3>(); foreach(Vector3 _v in v) { JSONVector3 jv = new JSONVector3(); jv.setValue(_v); ls.Add(jv); } return ls.ToArray(); }
private static JSONVector3[] getJSONVector3Array(Vector3[] v) { List <JSONVector3> ls = new List <JSONVector3>(); foreach (Vector3 _v in v) { JSONVector3 jv = new JSONVector3(); jv.setValue(_v); ls.Add(jv); } return(ls.ToArray()); }