Ejemplo n.º 1
0
 public void IntroLevel1()
 {
     ui.ShowIntroduction("Level " + currentLevel, "Objective: Create a single triangle and wait for it to pass through.\n\nAfter closing this, press Setup and increase the Population, close Setup and then a triangle will spawn.\n\nGreen lines represent 'Goals' that award every triangle that touches them.\n\nBlue lines represent the finish line.");
     corridorLevel1.gameObject.SetActive(true);
     corridorLevel2.gameObject.SetActive(false);
     corridorLevel3.gameObject.SetActive(false);
     mainCamera.GetComponent <CameraFocus2D>().Focus(corridorLevel1);
     maxGenerations = 100;
     machineLearning.Begin();
     ui.LoadLevel1();
 }
Ejemplo n.º 2
0
 public void HideSetup()
 {
     machineLearning.Begin();
     Setup.SetActive(false);
 }