Hey I’m working with the iTween scripts and currently am trying to make a clickable object to trigger and object to follow an iTween path. I keep getting en error stating that there is an Unknown identifier: “GetPath”. Anyone have any ideas?
This is what I have on the object to move along the path:
function DoAction(){
iTween.MoveTo(gameObject,iTween.Hash(“path”, iTweenPath,GetPath(“Path1”),“time”,5));
}
And then there is a script on the button object calling DoAction of this script. I have the latest version of iTween and it is in the Plugins folder of Assets so that’s all good.