|
@@ -9,6 +9,7 @@ namespace UI.FieldGuide
|
|
|
public GComponent target;
|
|
|
public Controller m_c1;
|
|
|
public Controller m_state;
|
|
|
+ public GGraph m_holderBg;
|
|
|
public GLoader m_bg;
|
|
|
public GLoader m_loaderPic;
|
|
|
public UI_BonusBox m_loaderBonusBox;
|
|
@@ -16,7 +17,6 @@ namespace UI.FieldGuide
|
|
|
public GLoader m_rarity;
|
|
|
public GTextField m_txtName;
|
|
|
public GImage m_unlockMask;
|
|
|
- public GGraph m_holderBg;
|
|
|
public const string URL = "ui://vqq9h9h4e3ot6n";
|
|
|
public const string PACKAGE_NAME = "FieldGuide";
|
|
|
public const string RES_NAME = "CompSuitItem";
|
|
@@ -66,6 +66,7 @@ namespace UI.FieldGuide
|
|
|
{
|
|
|
m_c1 = comp.GetController("c1");
|
|
|
m_state = comp.GetController("state");
|
|
|
+ m_holderBg = (GGraph)comp.GetChild("holderBg");
|
|
|
m_bg = (GLoader)comp.GetChild("bg");
|
|
|
m_loaderPic = (GLoader)comp.GetChild("loaderPic");
|
|
|
m_loaderBonusBox = (UI_BonusBox)UI_BonusBox.Create(comp.GetChild("loaderBonusBox"));
|
|
@@ -73,12 +74,12 @@ namespace UI.FieldGuide
|
|
|
m_rarity = (GLoader)comp.GetChild("rarity");
|
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
m_unlockMask = (GImage)comp.GetChild("unlockMask");
|
|
|
- m_holderBg = (GGraph)comp.GetChild("holderBg");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_c1 = null;
|
|
|
m_state = null;
|
|
|
+ m_holderBg = null;
|
|
|
m_bg = null;
|
|
|
m_loaderPic = null;
|
|
|
m_loaderBonusBox.Dispose();
|
|
@@ -87,7 +88,6 @@ namespace UI.FieldGuide
|
|
|
m_rarity = null;
|
|
|
m_txtName = null;
|
|
|
m_unlockMask = null;
|
|
|
- m_holderBg = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|