private void PlaceBuildings()
 {
     for (int y = 0; y < procGrid.Size.y; y++)               //For each cell in grid (startinf drom ground)
     {
         for (int x = 0; x < procGrid.Size.x; x++)           //              |
         {
             for (int z = 0; z < procGrid.Size.z; z++)       //              |
             {
                 Cell cell = procGrid.GetCell(x, y, z);
                 if (cell.enabled)
                 {
                     Module building = BuildingDatabase.GetRandomBuilding(cell.buildProperties); //Pick one matching cell properties
                     if (building != null)                                                       //If a module was found
                     {
                         PlaceBlock(building, cell);                                             //Place block at cell pos
                     }
                 }
             }
         }
     }
     builderManager.ClearPreview();
 }