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