示例#1
0
 private void ContinueHandler()
 {
     DatabaseSystem.testFunc();
     StartCoroutine(FadeOutCoroutine(MainMenu.GetComponent <S_MainMenu>().ChildCanvasGroup, MainMenu, () =>
     {
         // Create a lambda for instantiating our equipment menu at the end
         EquipmentMenu = Instantiate(EquipmentMenuObjectType);
         GameObject EquipmentChildPanel = EquipmentMenu.transform.GetChild(0).gameObject;
         Assert.IsNotNull(EquipmentChildPanel);
         StartCoroutine(FadeInCoroutine(EquipmentChildPanel.GetComponent <CanvasGroup>()));
     }));
 }