Unity3D 相机跟随主角移动

这里给主相机绑定一个脚本。post 脚本写为:this using UnityEngine; using System.Collections; public class camerafollow : MonoBehaviour { //主摄像机跟随主角一块儿移动 public float xMargin = 1f; public float yMargin = 1f;
相关文章
相关标签/搜索