public void Generate() { Random.InitState(seed); var terrain = CurrentTerrainForGeneration; terrain.terrainData = DiamondSquare.GenerateTerrain(terrain.terrainData, this); Save(); }
public void Generate() { Random.InitState(seed); var terrain = CurrentTerrainForGeneration; terrain.terrainData = DiamondSquare.GenerateTerrain(terrain.terrainData, this); Save(); }