Skip to content

Instantly share code, notes, and snippets.

@kazuooooo
Created January 7, 2015 15:59
Show Gist options
  • Save kazuooooo/8e2bed9a9161b459f43e to your computer and use it in GitHub Desktop.
Save kazuooooo/8e2bed9a9161b459f43e to your computer and use it in GitHub Desktop.
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