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.