博客
Hy8636
这个作者很懒,什么都没留下…
展开
-
平抛运动
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PingPaoDemo : MonoBehaviour { private float g ; //重力加速度 private float horizontalSpeed; //水平方向速度 private flo...原创 2019-06-04 12:29:54 · 864 阅读 · 0 评论 -
触屏移动相机
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraMove2 : MonoBehaviour { //摄像机距离 public float distance = 10.0f; //缩放系数 public float scale...原创 2019-06-04 12:25:34 · 141 阅读 · 0 评论