iTween - Tweening a Vector3 Is this possible?

Hey All,

I’m brand new to Unity and C#…So pls excuse me if this is noob question…

I’m trying to use iTween to tween the value of a Vector3.

public Vector3 targetPoint; 

Hashtable ht = new Hashtable();
ht.Add("targetPoint", lineHotSpots[1].transform.position);
ht.Add("time", 10);
ht.Add("delay", 1);
ht.Add("easetype", iTween.EaseType.easeOutQuint);
ht.Add("onupdate","myUpdateFunction");
		
iTween.MoveTo(this.gameObject, ht);

From my traces it looks like the targetPoint doesn’t tween at all to desired position. All the examples I’ve seen use iTween to tween GameObjects…Can it not be used to tween private variables like Vector3 or floats?

Is there something wrong with my syntax?

i think we cannot use the code my own self
we should use only the code given in the documentation of iTween.