using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowCamera : MonoBehaviour { // Update is called once per frame [SerializeField] GameObject thingToFollow; void Update() { transform.position = thingToFollow.transform.position + new Vector3 (0,0, -10); } }