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.
Select your Unity version
Last updated: September 17, 2019
Learn to code by making a game. Gain the skills to become Unity Certified.