コード例 #1
0
 public static float SmoothStartSpike2(float duration)
 {
     if (duration <= .5f)
     {
         return(SmoothStart.SmoothStart2(duration / 0.5f));
     }
     return(SmoothStart.SmoothStart2(GeneralEase.Flip(duration) / .5f));
 }
コード例 #2
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));
     }
 }
コード例 #3
0
 public static float SmoothStop5(float t)
 {
     return(GeneralEase.Flip(SmoothStart.SmoothStart5(GeneralEase.Flip(t))));
 }