This question is coming directly out of my ignorance, so bear with me.
Lerp and I are good friends. We get along pretty well. Part of this is that I basically regard Lerp a a magic spell. My Lerps usually look like this:
tempAlpha = Mathf.Lerp(objectToFadeIn.color.a,1,Time.deltaTime * fadeSmooth);
And everything works great. But now I want to Lerp over a VERY SPECIFIC period of time, say 4 seconds. Short of just taking the interval and dividing it by the duration and looping it, what’s the best way to Lerp over a predetermined period of time?