Exemplo n.º 1
0
 public void IntroLevel2()
 {
     ui.ShowIntroduction("Level " + currentLevel, "Objective: 5 triangles must make it to the end of the maze.\n\nYou have 25 generations with maximum 10 population.\n\nNew setting unlocked in setup: Elitism\n\n");
     corridorLevel1.gameObject.SetActive(false);
     corridorLevel2.gameObject.SetActive(true);
     corridorLevel3.gameObject.SetActive(false);
     mainCamera.GetComponent <CameraFocus2D>().Focus(corridorLevel2);
     maxGenerations = 25;
     ui.LoadLevel2();
     machineLearning.Begin();
 }