Skip to content

Instantly share code, notes, and snippets.

@peroon
Created June 18, 2015 06:45
Show Gist options
  • Save peroon/ffe032de2c1c013dab07 to your computer and use it in GitHub Desktop.
Save peroon/ffe032de2c1c013dab07 to your computer and use it in GitHub Desktop.
UIを左右に揺らす。ダメージ表現によさそう
this.GetComponent<RectTransform> ().DOPunchPosition (Vector3.right * 100, 1.0f);
@peroon
Copy link
Author

peroon commented Jun 18, 2015

ぽよん this.GetComponent ().DOShakeScale (1.0f);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment