Skip to content

Instantly share code, notes, and snippets.

@nopitech
Created October 19, 2017 16:49
Show Gist options
  • Save nopitech/e9d5145f77a0c84cbc27db75d10ed3a7 to your computer and use it in GitHub Desktop.
Save nopitech/e9d5145f77a0c84cbc27db75d10ed3a7 to your computer and use it in GitHub Desktop.
iTween.PunchScale
public class iTweenMethod : MonoBehaviour {
void Start ()
{
PunchScale();
}
void PunchScale()
{
iTween.PunchScale (gameObject,
iTween.Hash ("x", 3f, "y", 3f, "delay", 1f, "time", 1.5f));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment