示例#1
0
 public void OnChooseTree1Clicked()
 {
     GameObject.Find("TechTree").GetComponent <ActiveLevel1NodeManager> ().Active();
     InformationSave.instance.TechTree = 1;
     ResearchPointManager._instance.SetCurrentPoint(2);
     SetChooseNotActive();
     SetOtherButtonActive();
     TechTree1.gameObject.SetActive(true);
     TechTree2.gameObject.SetActive(false);
     TechTree3.gameObject.SetActive(false);
     //Start create enemy from enemy manager1
     enemySpawnManager.StartCoroutine1();
     //stop create enemy from enemy manager2
     enemySpawnManager2.EndCoroutine2();
     CurrentTechTree = 1;
 }