|
@@ -10,6 +10,7 @@ namespace UI.LuckyBox
|
|
|
public Controller m_ctrlBuyType;
|
|
|
public Controller m_ctrlRewardsType;
|
|
|
public GLoader m_bg;
|
|
|
+ public GMovieClip m_effEnd;
|
|
|
public GGraph m_holder_star;
|
|
|
public GGraph m_holder_star_sky;
|
|
|
public GGraph m_holder_bg;
|
|
@@ -51,7 +52,8 @@ namespace UI.LuckyBox
|
|
|
public UI_ComStar m_comStar1_2_8;
|
|
|
public UI_ComStar m_comStar1_2_9;
|
|
|
public GGroup m_grpComStar2;
|
|
|
- public GMovieClip m_effEnd;
|
|
|
+ public GGroup m_star;
|
|
|
+ public Transition m_t0;
|
|
|
public const string URL = "ui://drx9d1usl5nzm";
|
|
|
public const string PACKAGE_NAME = "LuckyBox";
|
|
|
public const string RES_NAME = "LuckyBoxStarUI";
|
|
@@ -102,6 +104,7 @@ namespace UI.LuckyBox
|
|
|
m_ctrlBuyType = comp.GetController("ctrlBuyType");
|
|
|
m_ctrlRewardsType = comp.GetController("ctrlRewardsType");
|
|
|
m_bg = (GLoader)comp.GetChild("bg");
|
|
|
+ m_effEnd = (GMovieClip)comp.GetChild("effEnd");
|
|
|
m_holder_star = (GGraph)comp.GetChild("holder_star");
|
|
|
m_holder_star_sky = (GGraph)comp.GetChild("holder_star_sky");
|
|
|
m_holder_bg = (GGraph)comp.GetChild("holder_bg");
|
|
@@ -143,13 +146,15 @@ namespace UI.LuckyBox
|
|
|
m_comStar1_2_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_8"));
|
|
|
m_comStar1_2_9 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_9"));
|
|
|
m_grpComStar2 = (GGroup)comp.GetChild("grpComStar2");
|
|
|
- m_effEnd = (GMovieClip)comp.GetChild("effEnd");
|
|
|
+ m_star = (GGroup)comp.GetChild("star");
|
|
|
+ m_t0 = comp.GetTransition("t0");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_ctrlBuyType = null;
|
|
|
m_ctrlRewardsType = null;
|
|
|
m_bg = null;
|
|
|
+ m_effEnd = null;
|
|
|
m_holder_star = null;
|
|
|
m_holder_star_sky = null;
|
|
|
m_holder_bg = null;
|
|
@@ -224,7 +229,8 @@ namespace UI.LuckyBox
|
|
|
m_comStar1_2_9.Dispose();
|
|
|
m_comStar1_2_9 = null;
|
|
|
m_grpComStar2 = null;
|
|
|
- m_effEnd = null;
|
|
|
+ m_star = null;
|
|
|
+ m_t0 = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|