Camera Follow System in Unity

Objective: How to make a 2D camera follow with Unity

Pre-requirements

Cinemachine Installed

Adding a cinemachine camera to the scene

Once we create our 2D camerae it will automatically add a CinemachineBrain component to the main camera.

Note: Without the CinemachineBrain component the camera wouldn’t work.

Inside the CM vcam1 object you can specify the follow target. AND THAT’S IT!!!