Hello everyone. I wonder if it is possible to jump from one path to another using ITween MoveTo. The first image shows how currently does. The second shows what I want to do
Current Code:
void Start () {
iTween.MoveTo(gameObject, iTween.Hash("path", iTweenPath.GetPath("caminho2"),"time", 6,"easetype",iTween.EaseType.linear,
"orienttopath", true,"oncomplete", "OnComplete"));
}
public void OnComplete(){
Debug.Log("some values");
iTween.MoveTo(gameObject, iTween.Hash("path", iTweenPath.GetPath("caminho3"),"time", 6,"easetype",iTween.EaseType.linear,
"orienttopath", true));
}