unity lerp value code example
Example 1: unity lerp
thisText.color = Color.Lerp(normalColour, noAlpha, (Time.time - startTime) / lifeTime);
Example 2: how to lerp a value in unity
lerpValue = Mathf.Lerp(minValue, maxValue, interpolationPoint);
thisText.color = Color.Lerp(normalColour, noAlpha, (Time.time - startTime) / lifeTime);
lerpValue = Mathf.Lerp(minValue, maxValue, interpolationPoint);