Skip to main content
Posts must include answer text only, no need to sign them.
Source Link

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

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

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!

Source Link

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