Legacy Documentation: Version 2018.2 (Go to current version)
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: