mycj_demo/mycj/Assets/Plugins/Pixelplacement/iTween/Sample/MoveSample.cs
2024-12-02 09:37:47 +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));
}
}