C# - create an iTweenPath in the Sourcecode

Hello,

I was playing around with iTween and iTweenPath to implement some easy move- and rotate-animations.

Now I wanted to try to generate those paths automatically depending on where my prefabs are spawning. Does anyone know a way how i can implement the iTweenPaths in the SourceCode?
For example something like:

path.name = “test”;

test.node 1 = new Vector(0f;0f;0f);

test.node[2] = …;

Every hint and idea is welcome.
Thank you in advance.

Bob Berkbeile has examples for sale on his website for performing various tasks with iTween. I think this example will give you what you need: iTween for Unity by Bob Berkebile (pixelplacement)