Vector2IntRange.Clamp

Method in Vector2IntRange

Declaration

public Vector2Int Clamp(Vector2Int value)

Description

Clamps a value to the range.

Parameters

valueThe value to clamp.

Returns

Vector2IntThe clamped value.