This commit is contained in:
zhangzheng
2025-12-15 10:04:30 +08:00
parent 0952f59047
commit a4e41452b6
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ namespace Stary.Evo.UIFarme
/// <summary>
/// 执行面板的出栈操作此操作会执行面板的OnExit方法
/// </summary>
void PopQueue<T>() where T : IBaseRenderPanel, new();
void PopQueue(string panelName);
/// <summary>
@@ -163,9 +163,9 @@ namespace Stary.Evo.UIFarme
}
public void PopQueue<T>() where T : IBaseRenderPanel, new()
public void PopQueue(string panelName)
{
string panelName = typeof(T).Name;
for (int i = 0; i < queuePanel.Count; i++)