Created
June 9, 2015 07:44
-
-
Save mizutanikirin/74dd8a8effc69e035efc to your computer and use it in GitHub Desktop.
マウスホイールで拡大縮小表示
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
transform.Translate(new Vector3(0,0,Input.GetAxis("Mouse ScrollWheel"))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment