'Procedural Generation problems - Unity

I am learning how to make procedurally generated terrain in unity 3d. I am following this video tutorial by Brackeys.

1

The mesh generator script has been updated over the course of multiple videos which I have all watched, apart from the one that adds this function:

2

Sadly, he collapsed it in the video so I can't see what's inside. Does anyone know what is in it?

Thanks for the help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source