mycj_demo/mycj/Assets/Plugins/Pixelplacement/iTween/Sample/RotateSample.cs

11 lines
232 B
C#
Raw Normal View History

2024-12-02 09:37:47 +08:00
using UnityEngine;
using System.Collections;
public class RotateSample : MonoBehaviour
{
void Start(){
iTween.RotateBy(gameObject, iTween.Hash("x", .25, "easeType", "easeInOutBack", "loopType", "pingPong", "delay", .4));
}
}