コード例 #1
0
 public void RepeatMission()
 {
     PanelMainMenu.SetActive(true);
     //it is a backend thing. we don't want to repeat the last successfull mission. we want to do the next one
     PanelMainMenu.GetComponent <PanelMainMenu>().StartMission(Mission.MissionType, false);
     gameObject.SetActive(false);
 }
コード例 #2
0
 public void ReturnToMainMenu()
 {
     PanelMainMenu.SetActive(true);
     gameObject.SetActive(false);
 }