unity使用鼠标控制移动、缩放、旋转
注意:物体必须添加刚体组件!!!!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Move2 : MonoBehaviour
{
///旋转速度,需要调试
public float xSpeed = 250.0f;
public float ySpeed = 130.0f;
//限制旋转角度,物体绕x轴旋转限制,不能上下颠倒。
public float