Пример #1
0
 public static float SmoothStopSpike2(float duration)
 {
     if (duration <= 0.5f)
     {
         return(SmoothStop.SmoothStop2(duration / 0.5f));
     }
     else
     {
         return(SmoothStop.SmoothStop2(GeneralEase.Flip(duration) / 0.5f));
     }
 }
 //EaseInEaseOut functions
 public static float SmoothStart2SmoothStop2(float t)
 {
     return(Mathf.Lerp(SmoothStart.SmoothStart2(t), SmoothStop.SmoothStop2(t), t));
 }