Created
January 7, 2015 15:59
-
-
Save kazuooooo/8e2bed9a9161b459f43e to your computer and use it in GitHub Desktop.
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
| using UnityEngine; | |
| using System.Collections; | |
| public class KeyCodePra : MonoBehaviour { | |
| void Start(){ | |
| } | |
| void Update(){ | |
| if (Input.GetMouseButton (0)) { | |
| var v = new Vector3 (0.1f, 0.1f, 0.1f); | |
| transform.Rotate (v); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment