|
@@ -10,12 +10,13 @@ namespace UI.MatchingCompetition
|
|
|
public Controller m_c1;
|
|
|
public GLoader m_bg;
|
|
|
public GLoader m_playerImage;
|
|
|
- public GLoader m_ruleBtn;
|
|
|
- public GTextField m_titleText;
|
|
|
- public GButton m_btnBefore;
|
|
|
+ public GLoader m_outBg;
|
|
|
public GList m_RankList;
|
|
|
public UI_Component3 m_playerHead;
|
|
|
public GButton m_btnLook;
|
|
|
+ public GLoader m_ruleBtn;
|
|
|
+ public GTextField m_titleText;
|
|
|
+ public GButton m_btnBefore;
|
|
|
public GButton m_BtnBack;
|
|
|
public const string URL = "ui://ri3cveycp3ft1g";
|
|
|
public const string PACKAGE_NAME = "MatchingCompetition";
|
|
@@ -67,12 +68,13 @@ namespace UI.MatchingCompetition
|
|
|
m_c1 = comp.GetController("c1");
|
|
|
m_bg = (GLoader)comp.GetChild("bg");
|
|
|
m_playerImage = (GLoader)comp.GetChild("playerImage");
|
|
|
- m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
|
|
|
- m_titleText = (GTextField)comp.GetChild("titleText");
|
|
|
- m_btnBefore = (GButton)comp.GetChild("btnBefore");
|
|
|
+ m_outBg = (GLoader)comp.GetChild("outBg");
|
|
|
m_RankList = (GList)comp.GetChild("RankList");
|
|
|
m_playerHead = (UI_Component3)UI_Component3.Create(comp.GetChild("playerHead"));
|
|
|
m_btnLook = (GButton)comp.GetChild("btnLook");
|
|
|
+ m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
|
|
|
+ m_titleText = (GTextField)comp.GetChild("titleText");
|
|
|
+ m_btnBefore = (GButton)comp.GetChild("btnBefore");
|
|
|
m_BtnBack = (GButton)comp.GetChild("BtnBack");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
@@ -80,13 +82,14 @@ namespace UI.MatchingCompetition
|
|
|
m_c1 = null;
|
|
|
m_bg = null;
|
|
|
m_playerImage = null;
|
|
|
- m_ruleBtn = null;
|
|
|
- m_titleText = null;
|
|
|
- m_btnBefore = null;
|
|
|
+ m_outBg = null;
|
|
|
m_RankList = null;
|
|
|
m_playerHead.Dispose();
|
|
|
m_playerHead = null;
|
|
|
m_btnLook = null;
|
|
|
+ m_ruleBtn = null;
|
|
|
+ m_titleText = null;
|
|
|
+ m_btnBefore = null;
|
|
|
m_BtnBack = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|