public static void LerpTo(ref float parameter, float value, float t) { parameter = Mathf.Lerp(parameter, value, t); }