PC端鼠标拖动旋转
using UnityEngine;
using System.Collections;
public class MouseDragRound : MonoBehaviour {
public Transform obj;
public float speed = 2;
private bool _mouseDown = false;
void Update ()
{
if (Input.GetMouseButtonDown(0))
_mouseDown = true;
else if (Input.GetMouseButtonUp(0))
_mouseDown = false;
if (_mouseDown)
{
float fMouseX = Input.GetAxis("Mouse X");
float fMouseY = Input.GetAxis