public bool Contains (Vector2Int position);

파라미터

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

반환

bool Whether the position is within the RectInt.

설명

Returns true if the given position is within the RectInt.