Example #1
0
    public float islandSize; // Values close to 0 = smaller islands , 1 = larger islands


    // Use this for initialization
    void Start()
    {
        if (seed == 0)
        {
            seed = Random.Range(1, int.MaxValue);
        }
        Random.InitState(seed);

        cells = voronoi.Initialize(seed);

        //GenerateLandMass();
        GenerateMap();
    }