|
@@ -7,6 +7,7 @@ namespace UI.LuckyBox
|
|
public partial class UI_LuckyBoxWishUI
|
|
public partial class UI_LuckyBoxWishUI
|
|
{
|
|
{
|
|
public GComponent target;
|
|
public GComponent target;
|
|
|
|
+ public Controller m_showType;
|
|
public GButton m_btnWish1;
|
|
public GButton m_btnWish1;
|
|
public GButton m_btnWish2;
|
|
public GButton m_btnWish2;
|
|
public GButton m_btnRule;
|
|
public GButton m_btnRule;
|
|
@@ -61,6 +62,7 @@ namespace UI.LuckyBox
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
private void Init(GComponent comp)
|
|
{
|
|
{
|
|
|
|
+ m_showType = comp.GetController("showType");
|
|
m_btnWish1 = (GButton)comp.GetChild("btnWish1");
|
|
m_btnWish1 = (GButton)comp.GetChild("btnWish1");
|
|
m_btnWish2 = (GButton)comp.GetChild("btnWish2");
|
|
m_btnWish2 = (GButton)comp.GetChild("btnWish2");
|
|
m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
@@ -71,6 +73,7 @@ namespace UI.LuckyBox
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
|
|
+ m_showType = null;
|
|
m_btnWish1 = null;
|
|
m_btnWish1 = null;
|
|
m_btnWish2 = null;
|
|
m_btnWish2 = null;
|
|
m_btnRule = null;
|
|
m_btnRule = null;
|