Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

Vector2Int.Clamp

public void Clamp(Vector2Int min, Vector2Int max);

Description

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

Did you find this page useful? Please give it a rating: