Vector2IntExtensions.Wrap
Extension Method in Vector2IntExtensions
Declaration
public static void Wrap(this ref Vector2Int vector, Vector2Int min, Vector2Int max)
Description
Wraps the vector to the range [min..max].
Parameters
vector | The vector to wrap. |
min | The minimum value. |
max | The maximum value. |