Up until now, your game has worked within a single screen, so you’ve used a static camera.
In this tutorial, you will use a Unity package called Cinemachine to automatically control your camera without the need for code. You want the camera to follow your main character so they can start exploring a bigger world.
Note: This tutorial requires an internet connection because you will need to download the Cinemachine package.
Want to learn more about 2D Game Development with Unity? Connect with an expert Unity dev for a live 1:1 lesson.
Recommended Unity versions
2018.3 - 2019.2
Track your progress and get personalized recommendations.