Draw with prefabs in editor

I would like to be able to ‘draw’ in the editor and have prefabs placed one after the other alone the path. I have found some assets that do this, but I’m looking for a super basic example starting point. I have an idea how I might go about it, but I don’t want to reinvent the wheel. Thanks.

well, the “guts” of this will involve

somewhere in an editor script…

although things like this

might be of interest