mesh = new Mesh(); mesh.vertices mesh.triangles = triangles; mesh.RecalculateNormals();
would be nice