mycj_demo/mycj/Assets/Plugins/Pixelplacement/iTween/Sample/RotateSample.cs
2024-12-02 09:37:47 +08:00

11 lines
232 B
C#

using UnityEngine;
using System.Collections;
public class RotateSample : MonoBehaviour
{
void Start(){
iTween.RotateBy(gameObject, iTween.Hash("x", .25, "easeType", "easeInOutBack", "loopType", "pingPong", "delay", .4));
}
}