/// <inheritdoc /> public IInventoryItem[] GetAtPoint(Vector2Int point, Vector2Int size) { var posibleItems = new IInventoryItem[size.x * size.y]; var c = 0; for (var x = 0; x < size.x; x++) { for (var y = 0; y < size.y; y++) { posibleItems[c] = GetAtPoint(point + new Vector2Int(x, y)); c++; } } return(posibleItems.Distinct().Where(x => x != null).ToArray()); }