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