private void DoBulkExport()
        {
            GCommon.ForEachTerrain(
                BulkExportGroupId,
                (t) =>
            {
                if (t == null || t.TerrainData == null)
                {
                    return;
                }

                GUnityTerrainDataExporter exporter = new GUnityTerrainDataExporter();
                exporter.SrcData              = t.TerrainData;
                exporter.DesData              = null;
                exporter.CreateNewAsset       = true;
                exporter.ExportGeometry       = ExportGeometry;
                exporter.ExportTerrainSize    = ExportTerrainSize;
                exporter.ExportSplats         = ExportSplats;
                exporter.OverwriteSplatLayers = false;
                exporter.ExportTrees          = ExportTrees;
                exporter.ExportGrasses        = ExportGrasses;
                exporter.DataDirectory        = DataDirectory;

                exporter.Export();
            });
        }
        private void DoExport()
        {
            GUnityTerrainDataExporter exporter = new GUnityTerrainDataExporter();

            exporter.SrcData              = SrcData;
            exporter.DesData              = DesData;
            exporter.CreateNewAsset       = CreateNewAsset;
            exporter.ExportGeometry       = ExportGeometry;
            exporter.ExportTerrainSize    = ExportTerrainSize;
            exporter.ExportSplats         = ExportSplats;
            exporter.OverwriteSplatLayers = OverwriteSplatLayers;
            exporter.ExportTrees          = ExportTrees;
            exporter.ExportGrasses        = ExportGrasses;
            exporter.DataDirectory        = DataDirectory;

            exporter.Export();
        }