Making a Look-At Camera in Unity
Objective: Have our camera always looking at the player.
This is super-simple to do. We simply assign a target transform in the inspector, and set it as the camera’s transform.LookAt parameter.
This effect will persist even if we change the camera angle, such as when our hero crosses into a new area!