public void Clamp(Vector2Int min, Vector2Int max);
Привязывает Vector2Int к границам, задаваемым min и max.
Vector2Int
min
max