|
@@ -9,7 +9,6 @@ namespace UI.Studio
|
|
|
public GComponent target;
|
|
|
public GLoader m_loaBg;
|
|
|
public GComponent m_comValueBar;
|
|
|
- public GButton m_btnBack;
|
|
|
public GLoader m_btnChageLine;
|
|
|
public GLoader m_loaRole;
|
|
|
public GTextField m_activityTitle;
|
|
@@ -17,6 +16,7 @@ namespace UI.Studio
|
|
|
public GButton m_btnReward;
|
|
|
public GTextField m_activityTipText;
|
|
|
public GTextField m_txtNum;
|
|
|
+ public GButton m_btnBack;
|
|
|
public const string URL = "ui://xz8kxrecp4yn5h";
|
|
|
public const string PACKAGE_NAME = "Studio";
|
|
|
public const string RES_NAME = "StudioActivityUI";
|
|
@@ -66,7 +66,6 @@ namespace UI.Studio
|
|
|
{
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_comValueBar = (GComponent)comp.GetChild("comValueBar");
|
|
|
- m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_btnChageLine = (GLoader)comp.GetChild("btnChageLine");
|
|
|
m_loaRole = (GLoader)comp.GetChild("loaRole");
|
|
|
m_activityTitle = (GTextField)comp.GetChild("activityTitle");
|
|
@@ -74,12 +73,12 @@ namespace UI.Studio
|
|
|
m_btnReward = (GButton)comp.GetChild("btnReward");
|
|
|
m_activityTipText = (GTextField)comp.GetChild("activityTipText");
|
|
|
m_txtNum = (GTextField)comp.GetChild("txtNum");
|
|
|
+ m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
m_comValueBar = null;
|
|
|
- m_btnBack = null;
|
|
|
m_btnChageLine = null;
|
|
|
m_loaRole = null;
|
|
|
m_activityTitle = null;
|
|
@@ -87,6 +86,7 @@ namespace UI.Studio
|
|
|
m_btnReward = null;
|
|
|
m_activityTipText = null;
|
|
|
m_txtNum = null;
|
|
|
+ m_btnBack = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|