using UnityEngine;
using System.Collections;
public class CamFollow : MonoBehaviour {
public GameObject player;
public float updistan; //设置距离Player上方偏移量
public float fordistan; //设置距离Player前方偏移量
Vector3 targetpso; //摄像机目标位置
public float speed = 1f;
// 初始化找到Player
void Start () {
if(player ==