Exemplo n.º 1
0
    private void Start()
    {
        ad          = new AreaData(areaSizeX, areaSizeY, terrainDepth);
        float[,] hm = ad.getSubArea(0, 0, terrainSizeInTiles, terrainSizeInTiles);
        print(Lib.hmToString(hm));
        hm = Lib.bloatArray(hm, tileResolution);

        createTerrain(hm, heightmapResolution, terrainSize, terrainDepth);
    }