|
@@ -7,14 +7,16 @@ namespace UI.ActivityHuaRongDao
|
|
|
public partial class UI_ActivityHuaRongDaoEntryUI
|
|
|
{
|
|
|
public GComponent target;
|
|
|
+ public Controller m_activityID;
|
|
|
public GLoader m_loaBg;
|
|
|
- public GButton m_btnRule;
|
|
|
+ public GButton m_btnClose;
|
|
|
+ public GButton m_btnBack;
|
|
|
public UI_scrollPane m_scrollPane;
|
|
|
public GTextField m_challengeTimes;
|
|
|
public GTextField m_curLevel;
|
|
|
public GTextField m_txtTime;
|
|
|
public GButton m_btnStart;
|
|
|
- public GButton m_btnBack;
|
|
|
+ public GButton m_btnRule;
|
|
|
public Transition m_hide;
|
|
|
public Transition m_show;
|
|
|
public const string URL = "ui://wf8geywtltoy4";
|
|
@@ -64,28 +66,32 @@ namespace UI.ActivityHuaRongDao
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
+ m_activityID = comp.GetController("activityID");
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
- m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
|
+ m_btnClose = (GButton)comp.GetChild("btnClose");
|
|
|
+ m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_scrollPane = (UI_scrollPane)UI_scrollPane.Create(comp.GetChild("scrollPane"));
|
|
|
m_challengeTimes = (GTextField)comp.GetChild("challengeTimes");
|
|
|
m_curLevel = (GTextField)comp.GetChild("curLevel");
|
|
|
m_txtTime = (GTextField)comp.GetChild("txtTime");
|
|
|
m_btnStart = (GButton)comp.GetChild("btnStart");
|
|
|
- m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
+ m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
|
m_hide = comp.GetTransition("hide");
|
|
|
m_show = comp.GetTransition("show");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
+ m_activityID = null;
|
|
|
m_loaBg = null;
|
|
|
- m_btnRule = null;
|
|
|
+ m_btnClose = null;
|
|
|
+ m_btnBack = null;
|
|
|
m_scrollPane.Dispose();
|
|
|
m_scrollPane = null;
|
|
|
m_challengeTimes = null;
|
|
|
m_curLevel = null;
|
|
|
m_txtTime = null;
|
|
|
m_btnStart = null;
|
|
|
- m_btnBack = null;
|
|
|
+ m_btnRule = null;
|
|
|
m_hide = null;
|
|
|
m_show = null;
|
|
|
if(disposeTarget && target != null)
|