InitializeDefaults() private method

private InitializeDefaults ( Terrain terrain ) : void
terrain UnityEngine.Terrain
return void
コード例 #1
0
        internal static void ExportHeightmapRaw()
        {
            ExportRawHeightmap wizard = TerrainWizard.DisplayTerrainWizard <ExportRawHeightmap>("Export Heightmap", "Export");

            wizard.InitializeDefaults(GetActiveTerrain());
        }
コード例 #2
0
        internal static void ExportHeightmapRaw()
        {
            ExportRawHeightmap exportRawHeightmap = TerrainWizard.DisplayTerrainWizard <ExportRawHeightmap>("Export Heightmap", "Export");

            exportRawHeightmap.InitializeDefaults(TerrainMenus.GetActiveTerrain());
        }