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