public static Vector2MoveTowards
(Vector2current,
Vector2target,
float maxDistanceDelta);
Descripción
Mueve un punto current hacia target.
This is essentially the same as Vector2.Lerp but instead the function will ensure that the speed never exceeds maxDistanceDelta.
Negative values of maxDistanceDelta pushes the vector away from target.