Complete 'path' creation solution with node-based editor in Unity Engine in editor & at runtime. Apply this script to any gameObject with meshFilter.
Read more here (Online documentation slide)
The following paragraphs contain Path Creator used in a practical example. Create a path creator behaviour at runtime and add custom path nodes.