public static float SmoothStartSpike2(float duration) { if (duration <= .5f) { return(SmoothStart.SmoothStart2(duration / 0.5f)); } return(SmoothStart.SmoothStart2(GeneralEase.Flip(duration) / .5f)); }
//EaseInEaseOut functions public static float SmoothStart2SmoothStop2(float t) { return(Mathf.Lerp(SmoothStart.SmoothStart2(t), SmoothStop.SmoothStop2(t), t)); }
//Ease out functions. public static float SmoothStop2(float t) { return(GeneralEase.Flip(SmoothStart.SmoothStart2(GeneralEase.Flip(t)))); }