Can't combine mesh from mesh create on runtime
问题 I have this code : public void BrowseColliderToCreateMesh (PolygonCollider2D polygonColliderAdded){ //browse all path from collider pathCount=polygonColliderAdded.pathCount; CombineInstance[] combine = new CombineInstance[pathCount]; for (int i = 0; i < pathCount; i++) { Vector2[] path = polygonColliderAdded.GetPath(i); Polygon2D polygon = Polygon2D.Contour(path); Triangulation2D triangulation = new Triangulation2D(polygon, 22.5f); // build a mesh from triangles in a Triangulation2D instance