public void TestBoop(SocketIOEvent e) { string[] arr = e.data["text"].ToString().Split(char.Parse(@"\")); string message = String.Join(null, arr); message = message.Substring(1, message.Length - 2); // Debug.Log(message); wsData = message; List <List <Vector3> > verticesList = new List <List <Vector3> >(); ProceduralUtils procedural = new ProceduralUtils(); verticesList = procedural.GetCoordinates(wsData); for (int i = 0; i < verticesList.Count; i++) { procedural.CreateMesh(verticesList[i], i); } verticesList.Clear(); if (e.data == null) { return; } }