Esempio n. 1
0
 public static void DisposeFormClass(UIFormClass prefabClass)
 {
     if (null == prefabClass)
     {
         return;
     }
     prefabClass.Destroy();
 }
Esempio n. 2
0
 /// <summary>
 /// 删除所有的窗口
 /// </summary>
 protected void DestroyAllFormClass()
 {
     for (int i = 0; i < _forms.Count; i++)
     {
         UIFormClass pc = _forms[i];
         if (pc == null)
         {
             continue;
         }
         _forms[i] = null;
         UIFormHelper.DisposeFormClass(pc);
     }
 }