OvertakingLegend/Assets/UIFrameWork/Runtime/UIMar_lineUpUI.cs

36 lines
782 B
C#
Raw Permalink Normal View History

2025-03-24 03:08:22 +00:00
using System.Collections.Generic;
/// <summary>
/// UI<55><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>Ŷ<EFBFBD>չʾ
/// </summary>
public partial class UIManager
{
/// <summary>
/// <20>Ŷ<EFBFBD>UI<55>б<EFBFBD>
/// </summary>
private List<string> lineUpUIList = new List<string>();
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD>Ŷ<EFBFBD>UI
/// </summary>
public void AddlineUpUI<T>() where T : UIBaseClass
{
string uIName = typeof(T).Name;
lineUpUIList.Add(uIName);
}
/// <summary>
/// չʾ<D5B9>Ŷ<EFBFBD>UI
/// </summary>
public void ShowPanellineUp()
{
if (lineUpUIList != null && lineUpUIList.Count > 0)
{
AsynShowUI(lineUpUIList[0], (uIBaseClass) =>
{
lineUpUIList.RemoveAt(0);
});
}
}
}