|
@@ -9,18 +9,18 @@ namespace UI.ActivityThemeLuckyBox
|
|
|
public GComponent target;
|
|
|
public Controller m_c1;
|
|
|
public GLoader m_loaBg;
|
|
|
+ public GGraph m_bgEffectHolder;
|
|
|
public GButton m_btnBack;
|
|
|
public UI_Button1 m_btnChapter;
|
|
|
public UI_Button1 m_btnTask;
|
|
|
public UI_Button1 m_btnShop;
|
|
|
public GTextField m_timeDesc;
|
|
|
- public GTextField m_txtTime_3;
|
|
|
public GTextField m_txtTime;
|
|
|
+ public GTextField m_txtTime_4;
|
|
|
public GButton m_btnLuckyBox_old;
|
|
|
public UI_Button1 m_btnLuckyBox;
|
|
|
- public GGraph m_bgEffectHolder;
|
|
|
public Transition m_In_2;
|
|
|
- public Transition m_in_3;
|
|
|
+ public Transition m_In_4;
|
|
|
public const string URL = "ui://ubfk2kobmbf1k";
|
|
|
public const string PACKAGE_NAME = "ActivityThemeLuckyBox";
|
|
|
public const string RES_NAME = "ActivityThemeLuckyBoxUI";
|
|
@@ -70,23 +70,24 @@ namespace UI.ActivityThemeLuckyBox
|
|
|
{
|
|
|
m_c1 = comp.GetController("c1");
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
+ m_bgEffectHolder = (GGraph)comp.GetChild("bgEffectHolder");
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_btnChapter = (UI_Button1)UI_Button1.Create(comp.GetChild("btnChapter"));
|
|
|
m_btnTask = (UI_Button1)UI_Button1.Create(comp.GetChild("btnTask"));
|
|
|
m_btnShop = (UI_Button1)UI_Button1.Create(comp.GetChild("btnShop"));
|
|
|
m_timeDesc = (GTextField)comp.GetChild("timeDesc");
|
|
|
- m_txtTime_3 = (GTextField)comp.GetChild("txtTime_3");
|
|
|
m_txtTime = (GTextField)comp.GetChild("txtTime");
|
|
|
+ m_txtTime_4 = (GTextField)comp.GetChild("txtTime_4");
|
|
|
m_btnLuckyBox_old = (GButton)comp.GetChild("btnLuckyBox_old");
|
|
|
m_btnLuckyBox = (UI_Button1)UI_Button1.Create(comp.GetChild("btnLuckyBox"));
|
|
|
- m_bgEffectHolder = (GGraph)comp.GetChild("bgEffectHolder");
|
|
|
m_In_2 = comp.GetTransition("In_2");
|
|
|
- m_in_3 = comp.GetTransition("in_3");
|
|
|
+ m_In_4 = comp.GetTransition("In_4");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_c1 = null;
|
|
|
m_loaBg = null;
|
|
|
+ m_bgEffectHolder = null;
|
|
|
m_btnBack = null;
|
|
|
m_btnChapter.Dispose();
|
|
|
m_btnChapter = null;
|
|
@@ -95,14 +96,13 @@ namespace UI.ActivityThemeLuckyBox
|
|
|
m_btnShop.Dispose();
|
|
|
m_btnShop = null;
|
|
|
m_timeDesc = null;
|
|
|
- m_txtTime_3 = null;
|
|
|
m_txtTime = null;
|
|
|
+ m_txtTime_4 = null;
|
|
|
m_btnLuckyBox_old = null;
|
|
|
m_btnLuckyBox.Dispose();
|
|
|
m_btnLuckyBox = null;
|
|
|
- m_bgEffectHolder = null;
|
|
|
m_In_2 = null;
|
|
|
- m_in_3 = null;
|
|
|
+ m_In_4 = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|