Version: 2017.3
public bool Contains (Vector2Int position);

파라미터

position Position to check.
inclusive Whether 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.