摘要: [AddComponentMenu("NGUI/Examples/Spin With Mouse")]publicclass SpinWithMouse : MonoBehaviour{publicTransform target;public float speed = 1f;Transform mTrans;void Start (){mTrans = transform;}void OnDrag (Vector2 delta){//NUIG 鼠标或手机,点击事件为空。后再进行transform rotationUICamera.currentTouch.clickNo 阅读全文
posted @ 2013-07-08 11:38 韦斯利yx 阅读(1475) 评论(0) 推荐(0) 编辑