예제 #1
0
    private void Awake()
    {
        HeightMap test = new HeightMap(testSize);

        test.ApplyNoise(0.05f, 1f);
        //test.ApplyNoise(2f, 0.5f);
        //test.ApplyNoise(10f, 0.1f);

        test.Normalise();

        meshFilter.mesh = new HexagonMeshBuilder(test).Mesh;
    }