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