예제 #1
0
 /// <summary>
 /// 关闭所有弹窗
 /// </summary>
 public void CloseAllDialog()
 {
     for (int i = 0; i < dialogList.Count; i++)
     {
         DialogView dialogView = dialogList[i];
         if (dialogView != null)
         {
             dialogView.DestroyDialog();
         }
     }
     dialogList.Clear();
 }
예제 #2
0
 /// <summary>
 /// 关闭所有弹窗
 /// </summary>
 public void CloseAllDialog()
 {
     for (int i = 0; i < listDialog.Count; i++)
     {
         DialogView dialogView = listDialog[i];
         if (dialogView != null)
         {
             dialogView.DestroyDialog();
         }
     }
     listDialog.Clear();
 }