void UpdateColor() { startingColor.a = Mathf.Lerp(1f, 0f, Smoothing.SmoothStart(elapsedTime / lifetime, 4)); text.color = startingColor; }