Exemplo n.º 1
0
 public static Vector2 Ease(EaseType ease, Vector2 from, Vector2 to, float t, float duration)
 {
     return(UnclampedLerp(from, to, EaseHelper.Ease(ease, t, duration)));
 }
Exemplo n.º 2
0
 public static Color32 Ease(EaseType ease, Color32 from, Color32 to, float t, float duration)
 {
     return(UnclampedLerp(from, to, EaseHelper.Ease(ease, t, duration)));
 }
Exemplo n.º 3
0
 public static float Ease(EaseType ease, float from, float to, float t, float duration)
 {
     return(UnclampedLerp(from, to, EaseHelper.Ease(ease, t, duration)));
 }
Exemplo n.º 4
0
 public static Quaternion Ease(EaseType ease, Quaternion from, Quaternion to, float t, float duration)
 {
     return(Quaternion.Lerp(from, to, EaseHelper.Ease(ease, t, duration)));
 }