|
@@ -30,8 +30,7 @@ namespace UI.Main
|
|
|
public GLoader m_btnGuide;
|
|
|
public GTextField m_txtUnpassTips;
|
|
|
public GGroup m_groupUnpass;
|
|
|
- public GLoader m_loaCost;
|
|
|
- public GTextField m_txtPowerDesc;
|
|
|
+ public GComponent m_comCostCurrent;
|
|
|
public const string URL = "ui://mfvz4q8kvxw538";
|
|
|
public const string PACKAGE_NAME = "Main";
|
|
|
public const string RES_NAME = "StoryLevelInfoUI";
|
|
@@ -102,8 +101,7 @@ namespace UI.Main
|
|
|
m_btnGuide = (GLoader)comp.GetChild("btnGuide");
|
|
|
m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips");
|
|
|
m_groupUnpass = (GGroup)comp.GetChild("groupUnpass");
|
|
|
- m_loaCost = (GLoader)comp.GetChild("loaCost");
|
|
|
- m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc");
|
|
|
+ m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -131,8 +129,7 @@ namespace UI.Main
|
|
|
m_btnGuide = null;
|
|
|
m_txtUnpassTips = null;
|
|
|
m_groupUnpass = null;
|
|
|
- m_loaCost = null;
|
|
|
- m_txtPowerDesc = null;
|
|
|
+ m_comCostCurrent = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|