Vector2Extensions.Rounded
Extension Method in Vector2Extensions
Declaration
public static Vector2 Rounded(this Vector2 vector)
Description
Rounds the vector to the nearest whole number.
Parameters
vector | The vector to round. |
Returns
Vector2 | A new rounded vector. |