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

public class CameraScript : MonoBehaviour {

	[SerializeField] private Transform target2Follow;

	void Start () {
		
	}
	
	void Update () {
		transform.position = new Vector3(target2Follow.position.x, target2Follow.position.y,transform.position.z);
	}
}
