public void GeneratePreviewTexture()
 {
     int[,] caveMap = caveGenerator.GenerateMapData(seed, mapwidth, mapHeight, wallDensityPercentaje, iterations, borderDensity, minWallRegionDensity, minRoomRegionDensity, connetionsDensity);
     texture        = CaveGeneratorUtilities.TextureUtilities.CreateMapTexture(caveMap, Color.black, Color.grey, Color.cyan, Color.green, 300, 300);
 }