Skip to content

Instantly share code, notes, and snippets.

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