예제 #1
0
 public void loadTerrainSettings()
 {
     terrainSettings = saveLoadSystem.LoadTerrainSettings();
     if (terrainSettings != null)
     {
         xSize         = terrainSettings.xSize;
         zSize         = terrainSettings.zSize;
         scale         = terrainSettings.scale;
         depth         = terrainSettings.depth;
         pNoiseOffsetX = terrainSettings.xOffset;
         pNoiseOffsetZ = terrainSettings.zOffset;
         CreateMeshShape();
         UpdateMesh();
         updateUIValues();
     }
 }