Unity Procedural Mesh Bezier Curve Tutorial
Initialy it was created for Unity 5.4 but most likely it will work also for further versions.
If you can help or improve the script, just fork it and create some pull requests.
If you like to buy some coffee, i will appriciate it. You can do this on PayPal