BoundsInt.Contains

public bool Contains(Vector3Int position);

Parameters

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

Returns

bool Is point contained in the bounding box?

Description 描述

Is point contained in the bounding box?