Exemple #1
0
 public static void OpenEquipStarUpUI(EquipLibType.ELT elt = EquipLibType.ELT.Weapon, Action finish_callback = null)
 {
     UIManagerControl.Instance.OpenUI_Async("EquipDetailedUI", delegate(UIBase uibase)
     {
         EquipDetailedUI equipDetailedUI = uibase as EquipDetailedUI;
         equipDetailedUI.RefreshUI(EquipDetailedUIState.EquipStarUp, elt);
         if (finish_callback != null)
         {
             finish_callback.Invoke();
         }
     }, null);
 }
Exemple #2
0
 public static void OpenEquipSuitForgeUI(EquipLibType.ELT pos = EquipLibType.ELT.Weapon, Action finish_callback = null)
 {
     if (!SystemOpenManager.IsSystemClickOpen(78, 0, true))
     {
         return;
     }
     UIManagerControl.Instance.OpenUI_Async("EquipDetailedUI", delegate(UIBase uibase)
     {
         EquipDetailedUI equipDetailedUI = uibase as EquipDetailedUI;
         equipDetailedUI.RefreshUI(EquipDetailedUIState.EquipSuitForge, pos);
         if (finish_callback != null)
         {
             finish_callback.Invoke();
         }
     }, null);
 }