This version of Unity is unsupported.

Vector2Int.Clamp

Declaration

public void Clamp(Vector2Int min, Vector2Int max);

Description

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