Not sure what I am doing wrong but the camera does not follow my player anywhere. I tried to follow along as best as I could.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowCamera : MonoBehaviour
{
[SerializeField] Transform target;
void Update()
{
transform.position = target.position;
}
}