APP
萌新_小白
这个作者很懒,什么都没留下…
展开
-
移动端双击位移,单指旋转,双指缩放
private Camera camera = null; [HideInInspector] public float speed = 1f; private float angleHV, angleVV; [HideInInspector] public float smoothTime = 0.2f; float xSpeed;...原创 2019-02-25 11:29:30 · 728 阅读 · 1 评论 -
pc移动 旋转 缩放
public float xSpeed = 250.0f; public float ySpeed = 130.0f; //限制旋转角度,物体绕x轴旋转限制,不能上下颠倒。 public float yMinLimit = -30; public float yMaxLimit = 30; //物体的旋转角度 public float x = 0.0...原创 2019-03-20 11:46:41 · 185 阅读 · 0 评论