Пример #1
0
    public void GenerateIsland()
    {
        float[,] noiseMap = Noise.GenerateNoiseMap(bottomWidth, bottomHeight, noiseScale, octaves, persistence, lacunarity, offset);
        MeshData newIsland = IslandGenerator.GenerateIslandMesh(noiseMap);

        GetComponent <IslandDisplay>().DrawMesh(newIsland, placeholder);
    }