예제 #1
0
    public void GenerateConnections(IAlgorithm algorithm)
    {
        ClearConnections();
        Stopwatch.Reset();
        Stopwatch.Start();

        var cons = algorithm.CalculateRoute();

        StartCoroutine(algorithm.ShowConnectionsDelayed(cons));
    }