Skip to content

Instantly share code, notes, and snippets.

@nopitech
Last active October 30, 2017 13:08
Show Gist options
  • Save nopitech/3a69e8c53a10bfaefbe2c1fa30484a73 to your computer and use it in GitHub Desktop.
Save nopitech/3a69e8c53a10bfaefbe2c1fa30484a73 to your computer and use it in GitHub Desktop.
iTween.PunchPosition
public class iTweenMethod : MonoBehaviour {
void Start ()
{
PunchPosition ();
}
void PunchPosition()
{
iTween.PunchPosition (gameObject,
iTween.Hash ("y", 3, "delay", 1f, "time", 3f))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment