You must call iTween once. You would then call it each update. For example:
public class doubleTween : MonoBehaviour {
// Use this for initialization
void Start () {
iTween.RotateBy(gameObject,iTween.Hash("x", .25,"time",2, "easeType"
, "easeInOutQuad", "loopType", "pingPong", "delay", .2));
iTween.MoveTo(gameObject,iTween.Hash("x",6,"time",4,"loopType","pingPong"
,"delay",.4,"easeType","easeInOutQuad"));
}
// Update is called once per frame
void Update () {
}
}
Hope this helps!
-- fdizile