|
@@ -17,6 +17,7 @@ namespace UI.Store
|
|
public GList m_RewardList;
|
|
public GList m_RewardList;
|
|
public GButton m_btnGetAll;
|
|
public GButton m_btnGetAll;
|
|
public UI_BrocadeWeavReward m_SpecialReward;
|
|
public UI_BrocadeWeavReward m_SpecialReward;
|
|
|
|
+ public GButton m_btnShow;
|
|
public const string URL = "ui://p9mtgheoot07tcq";
|
|
public const string URL = "ui://p9mtgheoot07tcq";
|
|
public const string PACKAGE_NAME = "Store";
|
|
public const string PACKAGE_NAME = "Store";
|
|
public const string RES_NAME = "StoreBrocadeWeavUI";
|
|
public const string RES_NAME = "StoreBrocadeWeavUI";
|
|
@@ -74,6 +75,7 @@ namespace UI.Store
|
|
m_RewardList = (GList)comp.GetChild("RewardList");
|
|
m_RewardList = (GList)comp.GetChild("RewardList");
|
|
m_btnGetAll = (GButton)comp.GetChild("btnGetAll");
|
|
m_btnGetAll = (GButton)comp.GetChild("btnGetAll");
|
|
m_SpecialReward = (UI_BrocadeWeavReward)UI_BrocadeWeavReward.Create(comp.GetChild("SpecialReward"));
|
|
m_SpecialReward = (UI_BrocadeWeavReward)UI_BrocadeWeavReward.Create(comp.GetChild("SpecialReward"));
|
|
|
|
+ m_btnShow = (GButton)comp.GetChild("btnShow");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -89,6 +91,7 @@ namespace UI.Store
|
|
m_btnGetAll = null;
|
|
m_btnGetAll = null;
|
|
m_SpecialReward.Dispose();
|
|
m_SpecialReward.Dispose();
|
|
m_SpecialReward = null;
|
|
m_SpecialReward = null;
|
|
|
|
+ m_btnShow = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|