Version: 2019.2
public void Clamp (Vector2Int min, Vector2Int max);

Description

Clamps the Vector2Int to the bounds given by min and max.