Mathf.SmoothDamp-Function error..

Hi,

i want to use the Mathf.SmoothDamp-function but i get the following compiler-message:

My function is simple as it can be, but it doesn´t work:

var newFOV : float = Mathf.SmoothDamp(40.0, 60.0, 9.0, 9.0);

What does the " ref currentVelocity : float" value in the documentation mean?
Thanks for that

It means it must be a reference variable; basically you can’t pass a hard-coded value because the variable itself is referenced in the function.

–Eric

Oh yeah, it works.
Thanks a lot for your quick answer.