예제 #1
0
        private IEnumerator FindPath(Node startNode, Node targetNode)
        {
            var path = _pathAlgorithm.FindPath(startNode, targetNode);

            yield return(new WaitUntil(() => path != null));

            _requestManager.FinishedProcessingPath(path);
        }