using UnityEngine;
using System.Collections;

public class FollowTarget : MonoBehaviour {

    public GameObject target;
	
	// Update is called once per frame
	void LateUpdate () {
        if(target!=null)
            transform.position = target.transform.position;
    }
}
