【Unity 3D学习】获取鼠标滑动方向(上下左右)-控制摄像机围绕物体旋转
using UnityEngine;using System.Collections;public class ModelRotationScript : MonoBehaviour { public GameObject model; //目标物体 public Camera myCamera; //摄像机 Vector2 first = Vector2.zero;