|
@@ -13,6 +13,7 @@ namespace UI.RechargeStore
|
|
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 GTextField m_txtExchangeCount;
|
|
public const string URL = "ui://vlgobc15d4iwr";
|
|
public const string URL = "ui://vlgobc15d4iwr";
|
|
public const string PACKAGE_NAME = "RechargeStore";
|
|
public const string PACKAGE_NAME = "RechargeStore";
|
|
public const string RES_NAME = "StoreListItem";
|
|
public const string RES_NAME = "StoreListItem";
|
|
@@ -66,6 +67,7 @@ namespace UI.RechargeStore
|
|
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_txtExchangeCount = (GTextField)comp.GetChild("txtExchangeCount");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -76,6 +78,7 @@ namespace UI.RechargeStore
|
|
m_btnBuy.Dispose();
|
|
m_btnBuy.Dispose();
|
|
m_btnBuy = null;
|
|
m_btnBuy = null;
|
|
m_txtDesc = null;
|
|
m_txtDesc = null;
|
|
|
|
+ m_txtExchangeCount = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|