private IEnumerator FindPath(Node startNode, Node targetNode) { var path = _pathAlgorithm.FindPath(startNode, targetNode); yield return(new WaitUntil(() => path != null)); _requestManager.FinishedProcessingPath(path); }