using System.Collections.Generic; /// /// UI管理器_排队展示 /// public partial class UIManager { /// /// 排队UI列表 /// private List lineUpUIList = new List(); /// /// 添加排队UI /// public void AddlineUpUI() where T : UIBaseClass { string uIName = typeof(T).Name; lineUpUIList.Add(uIName); } /// /// 展示排队UI /// public void ShowPanellineUp() { if (lineUpUIList != null && lineUpUIList.Count > 0) { AsynShowUI(lineUpUIList[0], (uIBaseClass) => { lineUpUIList.RemoveAt(0); }); } } }