Modificar el FOV Cinemachine por script

using Cinemachine;
public CinemachineFreeLook VCamera;
VCamera = GetComponent();
private void Update()
{
if (Input.GetAxis(“Mouse ScrollWheel”) > 0)
{

VCamera.m_Lens.FieldOfView = 80f;
}
}

hola que tal, quería pedirles su ayuda … necesito que por medio del scroll del mouse pueda modificar la variable de FOV de CinemachineFreeLook pero me da error.

I think you’d like to do this:

using System;
using Cinemachine;
using UnityEngine;
public class FreelookFOV : MonoBehaviour
{

    public CinemachineFreeLook VCamera;
    void Start()
    {
        VCamera = GetComponent<CinemachineFreeLook>();
    }

    void Update()
    {
        if (Input.GetAxis("Mouse ScrollWheel") > 0)
        {

            VCamera.m_Lens.FieldOfView = 80f;
        }
    }
}

I’m going to look at the code thank you very much friend.