// Start is called before the first frame update
 void Start()
 {
     chunk = new Chunk[numberOfChunks, numberOfChunks];
     for (int x = 0; x < numberOfChunks; ++x)
     {
         for (int z = 0; z < numberOfChunks; ++z)
         {
             chunk[x, z]         = chunkGenerator.GenerateChunkNonThreaded(new ChunkIndex(x, z), noiseSettings, UsePerlin);
             chunk[x, z].Visible = true;
         }
     }
 }