控制摄像机平滑旋转背后跟随移动

代码 //将这个代码挂在摄像机上即可 using System.Collections; using System.Collections.Generic; using UnityEngine; public class SmoothFollow : MonoBehaviour { public Transform target;//这个是你要跟随的物体,比如RPG中的主角 或者 赛
相关文章
相关标签/搜索