Drag a cube onto the scene,add an FSM to your camera add smooth follow and select the cube as the target,press play to find out which way you need to rotate that cube,press stop rotate the cube,parent the cube to your character remove mesh renderer,done
Or you could use get position on your character using a float,then set position on the cube that way when you jump the camera won't move because your only registering one axis.