private Color StripColors(float progressOnStrip) { Color result = trailColor * (1f - Util_Properties.GetLerpValue(0f, 0.98f, progressOnStrip)); result.A /= 2; return(result); }
private Color StripColors(float progressOnStrip) { Color result = Color.Lerp(Color.White, Color.Violet, Util_Properties.GetLerpValue(0f, 0.7f, progressOnStrip, clamped: true)) * (1f - Util_Properties.GetLerpValue(0f, 0.98f, progressOnStrip)); result.A /= 2; return(result); }