RotateSample.cs 232 B

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