Last active
October 30, 2017 13:08
-
-
Save nopitech/6ed24851596410e1d2fb14794b054a1f to your computer and use it in GitHub Desktop.
iTween.PunchRotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class iTweenMethod : MonoBehaviour { | |
void Start () | |
{ | |
PunchRotation (); | |
} | |
void PunchRotation() | |
{ | |
iTween.PunchRotation (gameObject, | |
iTween.Hash ("z", 180, "delay", 1f, "time", 3f)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment