How to generate curved plane?

Hello,

I am trying to generate a curved plane.

Since I will be changing the number of vertices and the length of the plane, the divisions etc. etc, I would like to create this with a for loop.

However, I don’t understand how to go around doing this - how to structure this loop. How do I define which verts are on top and on the bottom? How do I number the tris?

Thanks.

Check this plane mesh example, then could try modify it:
http://wiki.unity3d.com/index.php?title=CreatePlane

Late to the party, but thank you kindly for posting this suggestion. This is working very well for me as a way to generate my preferred plane. The code is terrific.