摘要:
[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 阅读全文