06 UI组件上传

This commit is contained in:
2025-04-22 10:03:07 +08:00
parent 407215732f
commit e72c225765
3 changed files with 10 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ namespace Stary.Evo.UIFarme
nextPanel = new T();
nextPanel.Initialize(this);
nextPanel.SetPanelParent(parent);
GameObject panelGo = await nextPanel.CreatePanel(panelName);
GameObject panelGo = await nextPanel.CreatePanel($"Prefabs_{panelName}");
///生成面板后,进行初始化操作
nextPanel.Initialize(panelGo);
dicUI.Add(panelName, nextPanel);