|
@@ -8,6 +8,7 @@ namespace UI.LuckyBox
|
|
{
|
|
{
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public Controller m_showType;
|
|
public Controller m_showType;
|
|
|
|
+ public GLoader m_bg;
|
|
public GButton m_btnWish1;
|
|
public GButton m_btnWish1;
|
|
public GButton m_btnWish2;
|
|
public GButton m_btnWish2;
|
|
public GButton m_btnRule;
|
|
public GButton m_btnRule;
|
|
@@ -63,6 +64,7 @@ namespace UI.LuckyBox
|
|
private void Init(GComponent comp)
|
|
private void Init(GComponent comp)
|
|
{
|
|
{
|
|
m_showType = comp.GetController("showType");
|
|
m_showType = comp.GetController("showType");
|
|
|
|
+ m_bg = (GLoader)comp.GetChild("bg");
|
|
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");
|
|
@@ -74,6 +76,7 @@ namespace UI.LuckyBox
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_showType = null;
|
|
m_showType = null;
|
|
|
|
+ m_bg = null;
|
|
m_btnWish1 = null;
|
|
m_btnWish1 = null;
|
|
m_btnWish2 = null;
|
|
m_btnWish2 = null;
|
|
m_btnRule = null;
|
|
m_btnRule = null;
|