MoveSample.cs 226 B

12345678910
  1. using UnityEngine;
  2. using System.Collections;
  3. public class MoveSample : MonoBehaviour
  4. {
  5. void Start(){
  6. iTween.MoveBy(gameObject, iTween.Hash("x", 2, "easeType", "easeInOutExpo", "loopType", "pingPong", "delay", .1));
  7. }
  8. }