/// <summary> /// Called by the pathfinding script (AStar) once it's finished finding the path. /// </summary> public void FinishedProcessingPath(Vector3[] path, bool success) { _currentPathRequest.CallBack(path, success); _isProcessingPath = false; TryProcessNext(); }