I have a sample method GetGridIndices that returns me an IEnumerable where Vector2Int is just a class holding x and
GetGridIndices
IEnumerable
Vector2Int