2D Camera Follow Player
Use Cinemachine.
Last updated
Use Cinemachine.
Last updated
If you are looking for Cinemachine, install it from the package manager like you did with the input system.
Reference Video: https://www.youtube.com/watch?v=mWqX8GxeCBk
Steps:
Right click in the scene menu -> Cinemachine -> Pixel Camera
Drag the player GameObject in the scene into the Camera's "Follow" target
Deadzone width and height refer to the area the player can move around in before the camera moves.