private float linearFunction(float start, float end, float value) { return Mathf.Lerp(start, end, value); }