private void ShowUnityTerrainDataImporter() { GUnityTerrainDataImporterWindow window = GUnityTerrainDataImporterWindow.ShowWindow(); window.BulkImport = true; window.BulkImportGroupId = instance.GroupId; }
private void ShowUnityTerrainDataImporter() { GUnityTerrainDataImporterWindow window = GUnityTerrainDataImporterWindow.ShowWindow(); window.DesData = data; GameObject g = Selection.activeGameObject; if (g != null) { GStylizedTerrain t = g.GetComponent <GStylizedTerrain>(); if (t != null && t.TerrainData == data) { window.DesTerrain = t; } } }