コード例 #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));
     }
 }
コード例 #2
0
 //EaseInEaseOut functions
 public static float SmoothStart2SmoothStop2(float t)
 {
     return(Mathf.Lerp(SmoothStart.SmoothStart2(t), SmoothStop.SmoothStop2(t), t));
 }