Beispiel #1
0
    void showPath()
    {
        List <Cell> path = SolutionAlgorithms.Tremaux(maze, root, goal);

        foreach (Cell cur in path)
        {
            cur.transform.Find("Floor").GetComponent <Renderer>().material = material;
        }
    }