Exemplo n.º 1
0
    private void Update()
    {
        if (!Application.isPlaying)
        {
            return;
        }

        navmeshUpdates.Update();

        if (!isScanning)
        {
            PerformBlockingActions();
        }

        pathProcessor.TickNonMultithreaded();

        pathReturnQueue.ReturnPaths(true);
    }