Created
October 15, 2018 00:51
-
-
Save takopom/c3afea69e3a9f2930ee76533df91b260 to your computer and use it in GitHub Desktop.
LeanTweenでカメラ振動
This file contains hidden or 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
| // パラメータについて補足 | |
| // - move()でも良いはず | |
| // - X軸方向のみ揺らした | |
| // - 揺らす時間を短くした | |
| // - .shakeよりも.punchの方が好みだった | |
| LeanTween.moveLocal(mainCamera.gameObject, new Vector3(1,0,0), 0.1f).setEase(LeanTween.punch); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment