unity3d 鼠標控制物體上下、左右、旋轉

  using UnityEngine; using System.Collections; public class Rotate : MonoBehaviour { public GameObject cube; //要拖拽的物體 Vector3 mouse; //鼠標 Vector3 screeenV; //存儲cube的屏幕座標 Vector3 w
相關文章
相關標籤/搜索