Hi.
You can tween to move the camera or maybe with cinemachine.
for a quick test you can use Vector3 interpolate (maybe it's even good enough for you).
Lets say you want the camera to move from player 1 to player 2 :
Get position from player 1 and from player 2
Vector3 interpolate set player 1 position in From Vector and player 2 position in To Vector.
Time is the duration.
you can also change the mode, but there are only 2 mode at the moment on this action.