public static Vector3Int LerpUnclamped(this Vector3Int target, Vector3Int from, Vector3Int to, float duration)
 => CGMath.LerpUnclamped(from, to, duration);
示例#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))));
 }
示例#3
0
 public static int LerpUnclamped(this int from, int to, float duration)
 => CGMath.LerpUnclamped(from, to, duration);