|
@@ -11,6 +11,7 @@ namespace UI.ActivityMain
|
|
public GList m_List;
|
|
public GList m_List;
|
|
public UI_Button7 m_RewardBtn;
|
|
public UI_Button7 m_RewardBtn;
|
|
public GTextField m_rewardName;
|
|
public GTextField m_rewardName;
|
|
|
|
+ public GTextField m_rewardNum;
|
|
public const string URL = "ui://4ht5s77uqbf4u";
|
|
public const string URL = "ui://4ht5s77uqbf4u";
|
|
public const string PACKAGE_NAME = "ActivityMain";
|
|
public const string PACKAGE_NAME = "ActivityMain";
|
|
public const string RES_NAME = "ActivityRewardItemUI";
|
|
public const string RES_NAME = "ActivityRewardItemUI";
|
|
@@ -62,6 +63,7 @@ namespace UI.ActivityMain
|
|
m_List = (GList)comp.GetChild("List");
|
|
m_List = (GList)comp.GetChild("List");
|
|
m_RewardBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("RewardBtn"));
|
|
m_RewardBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("RewardBtn"));
|
|
m_rewardName = (GTextField)comp.GetChild("rewardName");
|
|
m_rewardName = (GTextField)comp.GetChild("rewardName");
|
|
|
|
+ m_rewardNum = (GTextField)comp.GetChild("rewardNum");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -70,6 +72,7 @@ namespace UI.ActivityMain
|
|
m_RewardBtn.Dispose();
|
|
m_RewardBtn.Dispose();
|
|
m_RewardBtn = null;
|
|
m_RewardBtn = null;
|
|
m_rewardName = null;
|
|
m_rewardName = null;
|
|
|
|
+ m_rewardNum = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|