setParameterbyName

Hello guys i have this script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class m : MonoBehaviour
{
[FMODUnity.EventRef]
FMOD.Studio.EventInstance Menu;
private string menus = “event:/Menu”;
private int pa = 0;
void Start()
{
Menu = FMODUnity.RuntimeManager.CreateInstance(“event:/Menu”);
Menu.start();
FMODUnity.RuntimeManager.AttachInstanceToGameObject(Menu, GetComponent(), GetComponent());
}
public void btnTest (Button btn)
{
pa = 1;
}

void Update()
{
   if (pa == 1){

 Menu.setParameterByName("Filter", 1f);
    
}

}
}

Everything is ok except the setParameterByName
i have this error
“EventInstance’ does not contain a definition for ‘setParameterByName’ and no accessible extension method ‘setParameterByName’ accepting a first argument of type ‘EventInstance’ could be found”

What version of FMOD for Unity are you using?

i solved it it’s ok
(fmpd2.0)