Being able to create geometry on-the-fly is a really cool Unity feature. And Unity's scripting engine is fast enough that you can even do it from JavaScript. This project contains 10 examples, as well as 2 useful base functionality providers you can drop into your existing projects.
This project contains 10 procedural examples in all.