diff --git a/Assets/06.UIFarme/RunTime/Base/BasePanel.cs b/Assets/06.UIFarme/RunTime/Base/BasePanel.cs
index 0484544..3e6eeab 100644
--- a/Assets/06.UIFarme/RunTime/Base/BasePanel.cs
+++ b/Assets/06.UIFarme/RunTime/Base/BasePanel.cs
@@ -9,10 +9,7 @@ namespace Stary.Evo.UIFarme
{
public interface IBasePanel : IController
{
- ///
- /// UI信息
- ///
- string UIPath { get; set; }
+
///
/// 绑定这个面板的实例
@@ -53,7 +50,7 @@ namespace Stary.Evo.UIFarme
///
/// ui信息
///
- Task CreatePanel();
+ Task CreatePanel(string panelName);
///
/// 销毁一个Ui对象
@@ -94,9 +91,9 @@ namespace Stary.Evo.UIFarme
protected GameObject activePanel{get;private set;}
- protected BasePanel(string uiPath)
+ protected BasePanel()
{
- UIPath = uiPath;
+
selectableDict = new Dictionary();
}
@@ -151,17 +148,17 @@ namespace Stary.Evo.UIFarme
}
- public async Task CreatePanel()
+ public async Task CreatePanel(string panelName)
{
if (panelParent == null)
{
- Debug.LogError($"UnityEvo:parent为空,{this.UIPath}无法创建,进程已中断,请检查!!!!!");
+ Debug.LogError($"UnityEvo:parent为空,{panelName}无法创建,进程已中断,请检查!!!!!");
return null;
}
if (!panelParent.GetComponent