Methods.FindEmptyNeighbor - notruilin/DeceptionGame GitHub Wiki
public List FindEmptyNeighbor(List list, int num, List addedToDeposit, int neighborRange);
list | A list of Vector3 positions as the standard |
num | The number of neighbors |
addedToDeposit | A list of Vector3 positions that cannot be picked |
neighborRange | The range of distance to neighbors |
Returns some empty grids around the given list of positions. Returns empty list if it is hard to find neighbors in this range.