unity3d 鼠标控制物体上下、左右、旋转

  using UnityEngine; using System.Collections; public class Rotate : MonoBehaviour { public GameObject cube; //要拖拽的物体 Vector3 mouse; //鼠标 Vector3 screeenV; //存储cube的屏幕坐标 Vector3 w
相关文章
相关标签/搜索