Ejemplo n.º 1
0
 public float Calculate(float percent)
 {
     if (percent < 0.5f)
     {
         return(0.5f - 0.5f * TweenBounceEaseOut.Calculate_(1f - 2f * percent));
     }
     else
     {
         return(0.5f + 0.5f * TweenBounceEaseOut.Calculate_(2f * percent - 1f));
     }
 }
Ejemplo n.º 2
0
 public float Calculate(float percent)
 {
     return(1f - TweenBounceEaseOut.Calculate_(1f - percent));
 }