Vector2IntExtensions¶
Namespace:
SideXP.Core
Extension functions for Vector2Int values.
Methods¶
Min(Vector2Int, int)¶
Returns a new Vector2Int with its values superior or equal to the given minimum value.
Parameters
vector: The input vector to compute.min: The minimum value of the given vector.
Returns
Returns the computed vector.
Max(Vector2Int, int)¶
Returns a new Vector2Int instance with its values inferior or equal to the given maximum value.
Parameters
max: The maximum value of the given vector.