Version: 2017.3

Vector2.ClampMagnitude

매뉴얼로 전환
public static Vector2 ClampMagnitude (Vector2 vector, float maxLength);

설명

Returns a copy of vector with its magnitude clamped to maxLength.