Пример #1
0
    public List <Node> GetSlotTilesFromTile(Node slotTile)
    {
        List <Node> slotTilesNeighbours = tilemapHandler.GetAllTileNeighbours(slotTile, slotRange - 1)
                                          .Where(node => node.tile.isSlot).ToList();

        return(slotTilesNeighbours);
    }