Version: 2017.3
public bool Contains (Vector2Int position);

Parámetros

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