private InitializeImportRaw ( |
||
terrain | ||
path | string | |
리턴 | void |
internal static void ImportRaw() { string saveLocation = EditorUtility.OpenFilePanel("Import Raw Heightmap", "", "raw"); if (saveLocation != "") { ImportRawHeightmap wizard = TerrainWizard.DisplayTerrainWizard <ImportRawHeightmap>("Import Heightmap", "Import"); wizard.InitializeImportRaw(GetActiveTerrain(), saveLocation); } }
internal static void ImportRaw() { string text = EditorUtility.OpenFilePanel("Import Raw Heightmap", "", "raw"); if (text != "") { ImportRawHeightmap importRawHeightmap = TerrainWizard.DisplayTerrainWizard <ImportRawHeightmap>("Import Heightmap", "Import"); importRawHeightmap.InitializeImportRaw(TerrainMenus.GetActiveTerrain(), text); } }