public static Vector2MoveTowards
(Vector2current,
Vector2target,
float maxDistanceDelta);
Description
Перемещает из точки curren в /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.