|
@@ -9,13 +9,15 @@ namespace UI.League
|
|
|
public GComponent target;
|
|
|
public GLoader m_loaBg;
|
|
|
public GButton m_btnBack;
|
|
|
- public GTextField m_txtTeaName;
|
|
|
public UI_comTeaPartyOverItem m_TeaPartyOverItem1;
|
|
|
+ public UI_comTeaPartyOverItem m_TeaPartyOverItem2;
|
|
|
public UI_comTeaPartyOverItem m_TeaPartyOverItem3;
|
|
|
public UI_comTeaPartyOverItem m_TeaPartyOverItem4;
|
|
|
- public UI_comTeaPartyOverItem m_TeaPartyOverItem2;
|
|
|
public UI_comTeaPartyOverItem m_TeaPartyOverItem5;
|
|
|
public UI_comTeaPartyOverItem m_TeaPartyOverItem6;
|
|
|
+ public GButton m_btnReward;
|
|
|
+ public GButton m_btnRule;
|
|
|
+ public GTextField m_txtTeaName;
|
|
|
public const string URL = "ui://tw70qm9dic4otq4";
|
|
|
public const string PACKAGE_NAME = "League";
|
|
|
public const string RES_NAME = "LeagueTeaPartyOverUI";
|
|
@@ -65,31 +67,35 @@ namespace UI.League
|
|
|
{
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
- m_txtTeaName = (GTextField)comp.GetChild("txtTeaName");
|
|
|
m_TeaPartyOverItem1 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem1"));
|
|
|
+ m_TeaPartyOverItem2 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem2"));
|
|
|
m_TeaPartyOverItem3 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem3"));
|
|
|
m_TeaPartyOverItem4 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem4"));
|
|
|
- m_TeaPartyOverItem2 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem2"));
|
|
|
m_TeaPartyOverItem5 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem5"));
|
|
|
m_TeaPartyOverItem6 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem6"));
|
|
|
+ m_btnReward = (GButton)comp.GetChild("btnReward");
|
|
|
+ m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
|
+ m_txtTeaName = (GTextField)comp.GetChild("txtTeaName");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
m_btnBack = null;
|
|
|
- m_txtTeaName = null;
|
|
|
m_TeaPartyOverItem1.Dispose();
|
|
|
m_TeaPartyOverItem1 = null;
|
|
|
+ m_TeaPartyOverItem2.Dispose();
|
|
|
+ m_TeaPartyOverItem2 = null;
|
|
|
m_TeaPartyOverItem3.Dispose();
|
|
|
m_TeaPartyOverItem3 = null;
|
|
|
m_TeaPartyOverItem4.Dispose();
|
|
|
m_TeaPartyOverItem4 = null;
|
|
|
- m_TeaPartyOverItem2.Dispose();
|
|
|
- m_TeaPartyOverItem2 = null;
|
|
|
m_TeaPartyOverItem5.Dispose();
|
|
|
m_TeaPartyOverItem5 = null;
|
|
|
m_TeaPartyOverItem6.Dispose();
|
|
|
m_TeaPartyOverItem6 = null;
|
|
|
+ m_btnReward = null;
|
|
|
+ m_btnRule = null;
|
|
|
+ m_txtTeaName = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|