change field of view camera unity script 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;