|
@@ -16,9 +16,9 @@ namespace UI.NewYearRedEnvelope
|
|
|
public GGraph m_holderAFu;
|
|
|
public GLoader m_imgTitle;
|
|
|
public GButton m_btnOpen;
|
|
|
- public GGraph m_holderOpenBtn;
|
|
|
public GRichTextField m_txtTime;
|
|
|
public UI_Button1 m_btnDoubleGet;
|
|
|
+ public GGraph m_holderOpenBtn;
|
|
|
public GComponent m_itemReward;
|
|
|
public GRichTextField m_textGetNum;
|
|
|
public const string URL = "ui://pt3t9f1ujsko0";
|
|
@@ -77,9 +77,9 @@ namespace UI.NewYearRedEnvelope
|
|
|
m_holderAFu = (GGraph)comp.GetChild("holderAFu");
|
|
|
m_imgTitle = (GLoader)comp.GetChild("imgTitle");
|
|
|
m_btnOpen = (GButton)comp.GetChild("btnOpen");
|
|
|
- m_holderOpenBtn = (GGraph)comp.GetChild("holderOpenBtn");
|
|
|
m_txtTime = (GRichTextField)comp.GetChild("txtTime");
|
|
|
m_btnDoubleGet = (UI_Button1)UI_Button1.Create(comp.GetChild("btnDoubleGet"));
|
|
|
+ m_holderOpenBtn = (GGraph)comp.GetChild("holderOpenBtn");
|
|
|
m_itemReward = (GComponent)comp.GetChild("itemReward");
|
|
|
m_textGetNum = (GRichTextField)comp.GetChild("textGetNum");
|
|
|
}
|
|
@@ -94,10 +94,10 @@ namespace UI.NewYearRedEnvelope
|
|
|
m_holderAFu = null;
|
|
|
m_imgTitle = null;
|
|
|
m_btnOpen = null;
|
|
|
- m_holderOpenBtn = null;
|
|
|
m_txtTime = null;
|
|
|
m_btnDoubleGet.Dispose();
|
|
|
m_btnDoubleGet = null;
|
|
|
+ m_holderOpenBtn = null;
|
|
|
m_itemReward = null;
|
|
|
m_textGetNum = null;
|
|
|
if(disposeTarget && target != null)
|