Creating mesh runtime

I writing something like house designer in Unity.
Walls are defined by some gameobjects, now I’m working on make a floor. I need to generate irregular shaped flat mesh limited by outer walls.

Where to begin?

Try starting with Unity’s Procedural Mesh Generator documentation: