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