Ejemplo n.º 1
0
 public static Vector3Int Lerp(this Vector3Int target, Vector3Int from, Vector3Int to, float duration)
 => CGMath.Lerp(from, to, duration);
Ejemplo n.º 2
0
 public static Coroutine To(Vector3Int from, Vector3Int to, float duration, EaseType ease, Setter <Vector3Int> setter)
 {
     return(CreateInterpolater(duration, ease, t => setter(CGMath.Lerp(from, to, t))));
 }
Ejemplo n.º 3
0
 public static int Lerp(this int from, int to, float duration)
 => CGMath.Lerp(from, to, duration);