using UnityEngine;
using System.Collections;

public class cameraFollow : MonoBehaviour {

    public Transform target;
    Transform camTran;

    // Use this for initialization
    void Start () {
        camTran = gameObject.GetComponent<Transform>();
	}
	
	// Update is called once per frame
	void Update () {
        camTran.position = new Vector3(target.position.x - 15, target.position.y + 50, target.position.z - 15);
	}
}
