相机
雪松打虎
这个作者很懒,什么都没留下…
展开
-
unity 实现相机围绕物体旋转、拉进、跟随(通过构建camera目录结构实现)
unity 实现相机围绕物体旋转、拉进、跟随 通过构建camera目录结构实现 这里写代码片 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraRotate : MonoBehaviour { [SerializeField] ...原创 2018-09-04 17:51:47 · 3739 阅读 · 1 评论 -
unity 相机围绕物体旋转,拉近(纯脚本控制)
unity 相机围绕物体旋转,拉近(纯脚本控制) 这里写代码片 using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateCube : MonoBehaviour { float rotateX; float rotateY; f...原创 2018-09-04 19:36:20 · 5335 阅读 · 0 评论