How to configure the FOV for a sniper rifle scope?

Sever3

New member
I display id 8 UI, when reload it turns off, all this is clear. But the scope (zoom) works at 40 FOV of main camera, as I understand it by default. How can I make it so that when aiming the camera's FOV drops to 5, like in the demo scene? I also use cinemachine, do I need any additional settings for it?
 
The demo scene uses the state system to change the field of view on the view type. It changes when the zoom state is active.
 
Top