Example of getParameterValue?

I’d like to check the value of a parameter every frame to debug some code more easily, but I really do not understand how this getParameterValue thing works. Could someone give me an example of getting a float or an int from getParameterValue?

You would use code such as this:

    float parameterValue;
    float finalParameterValue;
    public FMODUnity.EventReference eventRef;
    FMOD.Studio.EventInstance eventInst;

    // Start is called before the first frame update
    void Start()
        eventInst = FMODUnity.RuntimeManager.CreateInstance(eventRef);

    // Update is called once per frame
    void Update()
        eventInst.getParameterByName("MyParameter", out parameterValue, out finalParameterValue);

The difference between the parameter value and the final parameter value is that the value is what you have set it to be, whilst the final value is what it currently is taking all other automation, modulation, and seek speeds into consideration.