|
@@ -11,8 +11,8 @@ namespace UI.Store
|
|
public GTextField m_txtName;
|
|
public GTextField m_txtName;
|
|
public UI_Component2 m_btnBuy;
|
|
public UI_Component2 m_btnBuy;
|
|
public GTextField m_txtDesc;
|
|
public GTextField m_txtDesc;
|
|
- public GGraph m_holderfEff;
|
|
|
|
public GGroup m_grpDouble;
|
|
public GGroup m_grpDouble;
|
|
|
|
+ public GGraph m_holderfEff;
|
|
public const string URL = "ui://p9mtgheohhx91i";
|
|
public const string URL = "ui://p9mtgheohhx91i";
|
|
public const string PACKAGE_NAME = "Store";
|
|
public const string PACKAGE_NAME = "Store";
|
|
public const string RES_NAME = "ListChargeItem";
|
|
public const string RES_NAME = "ListChargeItem";
|
|
@@ -64,8 +64,8 @@ namespace UI.Store
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_btnBuy = (UI_Component2)UI_Component2.Create(comp.GetChild("btnBuy"));
|
|
m_btnBuy = (UI_Component2)UI_Component2.Create(comp.GetChild("btnBuy"));
|
|
m_txtDesc = (GTextField)comp.GetChild("txtDesc");
|
|
m_txtDesc = (GTextField)comp.GetChild("txtDesc");
|
|
- m_holderfEff = (GGraph)comp.GetChild("holderfEff");
|
|
|
|
m_grpDouble = (GGroup)comp.GetChild("grpDouble");
|
|
m_grpDouble = (GGroup)comp.GetChild("grpDouble");
|
|
|
|
+ m_holderfEff = (GGraph)comp.GetChild("holderfEff");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -74,8 +74,8 @@ namespace UI.Store
|
|
m_btnBuy.Dispose();
|
|
m_btnBuy.Dispose();
|
|
m_btnBuy = null;
|
|
m_btnBuy = null;
|
|
m_txtDesc = null;
|
|
m_txtDesc = null;
|
|
- m_holderfEff = null;
|
|
|
|
m_grpDouble = null;
|
|
m_grpDouble = null;
|
|
|
|
+ m_holderfEff = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|