Skip to content

Instantly share code, notes, and snippets.

@nopitech
Last active October 30, 2017 13:08
Show Gist options
  • Save nopitech/6ed24851596410e1d2fb14794b054a1f to your computer and use it in GitHub Desktop.
Save nopitech/6ed24851596410e1d2fb14794b054a1f to your computer and use it in GitHub Desktop.
iTween.PunchRotation
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