|
@@ -12,6 +12,7 @@ namespace UI.MatchingCompetition
|
|
public GButton m_btnReward;
|
|
public GButton m_btnReward;
|
|
public GButton m_btnRule;
|
|
public GButton m_btnRule;
|
|
public GList m_rewardList;
|
|
public GList m_rewardList;
|
|
|
|
+ public GTextField m_descText;
|
|
public const string URL = "ui://ri3cveycp3ft28";
|
|
public const string URL = "ui://ri3cveycp3ft28";
|
|
public const string PACKAGE_NAME = "MatchingCompetition";
|
|
public const string PACKAGE_NAME = "MatchingCompetition";
|
|
public const string RES_NAME = "MatchingCompetitionRuleTips";
|
|
public const string RES_NAME = "MatchingCompetitionRuleTips";
|
|
@@ -64,6 +65,7 @@ namespace UI.MatchingCompetition
|
|
m_btnReward = (GButton)comp.GetChild("btnReward");
|
|
m_btnReward = (GButton)comp.GetChild("btnReward");
|
|
m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
m_rewardList = (GList)comp.GetChild("rewardList");
|
|
m_rewardList = (GList)comp.GetChild("rewardList");
|
|
|
|
+ m_descText = (GTextField)comp.GetChild("descText");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -72,6 +74,7 @@ namespace UI.MatchingCompetition
|
|
m_btnReward = null;
|
|
m_btnReward = null;
|
|
m_btnRule = null;
|
|
m_btnRule = null;
|
|
m_rewardList = null;
|
|
m_rewardList = null;
|
|
|
|
+ m_descText = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|