|
@@ -9,6 +9,8 @@ namespace UI.LuckyBox
|
|
|
public GComponent target;
|
|
|
public Controller m_c1;
|
|
|
public GImage m_imgLine;
|
|
|
+ public GGraph m_holder;
|
|
|
+ public GGraph m_holder1;
|
|
|
public const string URL = "ui://drx9d1usl5nzq";
|
|
|
public const string PACKAGE_NAME = "LuckyBox";
|
|
|
public const string RES_NAME = "ComStar";
|
|
@@ -58,11 +60,15 @@ namespace UI.LuckyBox
|
|
|
{
|
|
|
m_c1 = comp.GetController("c1");
|
|
|
m_imgLine = (GImage)comp.GetChild("imgLine");
|
|
|
+ m_holder = (GGraph)comp.GetChild("holder");
|
|
|
+ m_holder1 = (GGraph)comp.GetChild("holder1");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_c1 = null;
|
|
|
m_imgLine = null;
|
|
|
+ m_holder = null;
|
|
|
+ m_holder1 = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|