unity how to edit the field of view of a camera code example
Example: how to edit field of view unity
public Camera myCamera;
// Then, to modify the camera's FOV, do this:
myCamera.fieldOfView = 10f;
public Camera myCamera;
// Then, to modify the camera's FOV, do this:
myCamera.fieldOfView = 10f;