Files
JJBB/Assets/Plugins/Pixelplacement/iTween/Sample/MoveSample.cs
2024-08-23 15:49:34 +08:00

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));
}
}