Version: 2018.2
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.