Scope Zoom?

How can I make a script that will allow my camera to zoom to a set magnification when I press a button? I can’t find any camera zooming or any workarounds (like making the viewing screen too big). Thank you in advance for your assistance.

How about just moving the camera closer along its z-axis when zooming?

Modifying the field of view does this.

Camera.main.fieldOfView = 10;