public void BFS()
    {
        ClearPath();
        var result = GridSearch.BreadthFirstSearch(_grid, _startCell.GetPosition(), _endCell.GetPosition());

        ShowVisited(result.Visited);
        StartCoroutine(ShowPath(result.Path));
    }
    public void BFS()
    {
        var path = GridSearch.BreadthFirstSearch(_grid, _startCell.GetPosition(), _endCell.GetPosition());

        StartCoroutine(ShowPath(path));
    }