11 lines
226 B
C#
11 lines
226 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class MoveSample : MonoBehaviour
|
|
{
|
|
void Start(){
|
|
iTween.MoveBy(gameObject, iTween.Hash("x", 2, "easeType", "easeInOutExpo", "loopType", "pingPong", "delay", .1));
|
|
}
|
|
}
|
|
|