public static ExponentialEaseOut ( float ElaspedTime, float Duration ) : float | ||
ElaspedTime | float | |
Duration | float | |
return | float |
public static float ExponentialEaseOut(float ElaspedTime, float Duration)
{
return 1f * (-Mathf.Pow(2f, -10f * ElaspedTime / Duration) + 1f);
}