﻿using UnityEngine;
using System.Collections;

public class CameraBehaviour : MonoBehaviour {
    
    public GameObject player;
	
	void Update () 
    {
        transform.position = new Vector3(player.transform.position.x, player.transform.position.y, transform.position.z);
	}
}
