public PathQueryStatus UpdateFindPath(int iterations, out int iterationsPerformed) { AtomicSafetyHandle.CheckWriteAndThrow(this.m_Safety); bool flag = !NavMeshQuery.HasNodePool(this.m_NavMeshQuery); if (flag) { throw new InvalidOperationException("This query has no buffer allocated for pathfinding operations. Create a different NavMeshQuery with an explicit node pool size."); } return(NavMeshQuery.UpdateFindPath(this.m_NavMeshQuery, iterations, out iterationsPerformed)); }