예제 #1
0
 private void InitModificator()
 {
     if (terrainModificator == null)
     {
         MyTerrain t = MyTerrain.GetTerrain();
         terrainModificator = new Modificator(t);
     }
 }
예제 #2
0
 private void UpdateTerrain()
 {
     if (HasChangedData() && MyTerrain.IsInitalized())
     {
         MyTerrain.GetTerrain().BeachWidth  = BeachWidth;
         MyTerrain.GetTerrain().SeaLevel    = SeaLevel;
         MyTerrain.GetTerrain().ScaleFactor = HeightMultiplier;
         //  MyTerrainV2.GetTerrain().BeachWidth = BeachWidth;
     }
 }