using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CameraFollow : MonoBehaviour {

    GameObject newPlayer;

	// Use this for initialization
	void Start () {

        newPlayer = GameObject.FindGameObjectWithTag("Player");
		
	}
	
	// Update is called once per frame
	void Update () {
        transform.position = new Vector3(newPlayer.transform.position.x,14f,newPlayer.transform.position.z);
	}
}
