Skip to content

Instantly share code, notes, and snippets.

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