Plot Polygon Points at Runtime

I have two classes called GlobeCreation.cs and GlobePiece.cs. In the GlobeCreation class, I have a script to generate a ring of GlobePieces around it using a given radius. What it’s currently doing is:


But what I want is them to be connected somehow. I want it to be a closed globe. Like this:

The first way I thought was to just use rectangles and have the rotated. But then I read up on meshes, where you can set the vertices at runtime, that would be the way I’d prefer. But I don’t know how to change the vertices on instantiation of an object, nor accurately place the meshes.

This is what I have in the Start method of my GlobeCreation.cs

for (int i = 0; i < 360; i += 15)
{
    GlobePiece np = Instantiate<GlobePiece>(gp, transform.position, transform.rotation);
    np.transform.position = new Vector2(Mathf.Cos(Mathf.Deg2Rad * i) * radius, Mathf.Sin(Mathf.Deg2Rad * i) * radius);
    // POSITIONING OR MESH CREATION GOES HERE
}

You could use the LineRenderer