Vector2.ClampMagnitude

Switch to Manual
public static Vector2 ClampMagnitude (Vector2 vector, float maxLength);

Description

返回 vector 的副本,其大小被限制为 /maxLength/。