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