// Use this for initialization void Start() { InitializeMaze(); MazeAlgorithm ma = new BackTrackAlgorithm(mazeCells); ma.CreateMaze(); }
IEnumerator Repetir() { yield return(new WaitForSeconds(2f)); DeleteAll(); InitializeMaze(); MazeAlgorithm ma = new BackTrackAlgorithm(mazeCells); ma.CreateMaze(); }