public static Vector2MoveTowards
(Vector2current,
Vector2target,
float maxDistanceDelta);
설명
Moves a point current towards 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.