public bool Contains (Vector2Int position);

Parámetros

positionPosition to check.
inclusiveWhether the max limits are included in the check.

Valor de retorno

bool Whether the position is within the RectInt.

Descripción

Returns true if the given position is within the RectInt.