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