This commit is contained in:
2025-10-14 14:29:08 +08:00
parent b085bb31d0
commit 4933c99c07
4 changed files with 69 additions and 17 deletions

View File

@@ -22,6 +22,7 @@ namespace Stary.Evo.UIFarme
/// </summary>
void PopQueue<T>(string panelName=null) where T : IBasePanel, new();
void PopQueue<T>(T t, string panelName=null) where T : IBasePanel, new();
/// <summary>
/// 执行面板的出栈操作此操作会执行面板的OnExit方法
/// </summary>
@@ -203,6 +204,11 @@ namespace Stary.Evo.UIFarme
}
}
public void PopQueue<T>(T t, string panelName = null) where T : IBasePanel, new()
{
PopQueue<T>(panelName);
}
public void PopStack()
{
if (stackPanel.Count > 0)