Pathfinding.RichAI.SearchPaths C# (CSharp) Method

SearchPaths() private method

private SearchPaths ( ) : IEnumerator
return IEnumerator
		IEnumerator SearchPaths () {
			while (true) {
				while (!repeatedlySearchPaths || waitingForPathCalc || !canSearchPath || Time.time - lastRepath < repathRate) yield return null;
				//canSearchPath = false;
				
				//waitingForPathCalc = true;
				//lastRepath = Time.time;
				//seeker.StartPath (tr.position, target.position);
				UpdatePath ();
	
				yield return null;
			}
		}