Created
October 19, 2017 16:57
-
-
Save nopitech/82342ca5609c0171c96ab85939d38e20 to your computer and use it in GitHub Desktop.
iTween.ShakeRotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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