Skip to content

Instantly share code, notes, and snippets.

@mizutanikirin
Created June 9, 2015 07:44
Show Gist options
  • Save mizutanikirin/74dd8a8effc69e035efc to your computer and use it in GitHub Desktop.
Save mizutanikirin/74dd8a8effc69e035efc to your computer and use it in GitHub Desktop.
マウスホイールで拡大縮小表示
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