Work
This commit is contained in:
10
Assets/Plugins/Pixelplacement/iTween/Sample/RotateSample.cs
Normal file
10
Assets/Plugins/Pixelplacement/iTween/Sample/RotateSample.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class RotateSample : MonoBehaviour
|
||||
{
|
||||
void Start(){
|
||||
iTween.RotateBy(gameObject, iTween.Hash("x", .25, "easeType", "easeInOutBack", "loopType", "pingPong", "delay", .4));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user