vector2.lerp unity how it works code example
Example: vector3.Lerp unity
//public static Vector3 Lerp(Vector3 a, Vector3 b, float t);
Vector3 pos = Vector3.Lerp(a,b,t);
//public static Vector3 Lerp(Vector3 a, Vector3 b, float t);
Vector3 pos = Vector3.Lerp(a,b,t);