public void Dijkstra() { ClearPath(); var result = GridSearch.DijkstraPriority(_grid, _startCell.GetPosition(), _endCell.GetPosition()); ShowVisited(result.Visited); StartCoroutine(ShowPath(result.Path)); }