|
@@ -18,10 +18,10 @@ namespace UI.Poem
|
|
|
public GTextField m_txtRewardCount;
|
|
|
public GGroup m_grpTime;
|
|
|
public GComboBox m_comBoBox;
|
|
|
+ public UI_ComScroll m_comScroll;
|
|
|
public GList m_listRank;
|
|
|
public GTextField m_txtRank;
|
|
|
public GGroup m_grpResult;
|
|
|
- public UI_ComScroll m_comScroll;
|
|
|
public const string URL = "ui://iyz778gkr9ri114";
|
|
|
public const string PACKAGE_NAME = "Poem";
|
|
|
public const string RES_NAME = "ComNormal";
|
|
@@ -80,10 +80,10 @@ namespace UI.Poem
|
|
|
m_txtRewardCount = (GTextField)comp.GetChild("txtRewardCount");
|
|
|
m_grpTime = (GGroup)comp.GetChild("grpTime");
|
|
|
m_comBoBox = (GComboBox)comp.GetChild("comBoBox");
|
|
|
+ m_comScroll = (UI_ComScroll)UI_ComScroll.Create(comp.GetChild("comScroll"));
|
|
|
m_listRank = (GList)comp.GetChild("listRank");
|
|
|
m_txtRank = (GTextField)comp.GetChild("txtRank");
|
|
|
m_grpResult = (GGroup)comp.GetChild("grpResult");
|
|
|
- m_comScroll = (UI_ComScroll)UI_ComScroll.Create(comp.GetChild("comScroll"));
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -98,11 +98,11 @@ namespace UI.Poem
|
|
|
m_txtRewardCount = null;
|
|
|
m_grpTime = null;
|
|
|
m_comBoBox = null;
|
|
|
+ m_comScroll.Dispose();
|
|
|
+ m_comScroll = null;
|
|
|
m_listRank = null;
|
|
|
m_txtRank = null;
|
|
|
m_grpResult = null;
|
|
|
- m_comScroll.Dispose();
|
|
|
- m_comScroll = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|