Example #1
0
    // Use this for initialization
    void Start()
    {
        //BenchMarking
        Stopwatch sw = Stopwatch.StartNew();

        GenerateMaze();
        MazeGen mg = new HuntAndKillMazeAlgorithm(mazeCells);

        mg.BuildMaze();

        sw.Stop();
        UnityEngine.Debug.Log("Debug BenchMark :" + sw.ElapsedMilliseconds + "ms");
    }