You can match the horizontal and vertical direction of the character to the camera, like this explanation by @robertbu.
Alternatively, why not parenting your camera to your 2D entity? Make the camera to be the child of the 2D entity if this fits. Would this work in your scenario?