|
@@ -13,11 +13,11 @@ namespace UI.ActivityDay7
|
|
|
public GButton m_tip;
|
|
|
public GProgressBar m_ExpProcess;
|
|
|
public GList m_DayList;
|
|
|
- public GList m_TaskList;
|
|
|
public GLoader m_EndIndex;
|
|
|
public GLoader m_StartIndex;
|
|
|
public GTextField m_Score;
|
|
|
public GTextField m_txtLevel;
|
|
|
+ public UI_comTaskList m_comTaskList;
|
|
|
public const string URL = "ui://kupdwln7nyhm1";
|
|
|
public const string PACKAGE_NAME = "ActivityDay7";
|
|
|
public const string RES_NAME = "ActivityDay7UI";
|
|
@@ -71,11 +71,11 @@ namespace UI.ActivityDay7
|
|
|
m_tip = (GButton)comp.GetChild("tip");
|
|
|
m_ExpProcess = (GProgressBar)comp.GetChild("ExpProcess");
|
|
|
m_DayList = (GList)comp.GetChild("DayList");
|
|
|
- m_TaskList = (GList)comp.GetChild("TaskList");
|
|
|
m_EndIndex = (GLoader)comp.GetChild("EndIndex");
|
|
|
m_StartIndex = (GLoader)comp.GetChild("StartIndex");
|
|
|
m_Score = (GTextField)comp.GetChild("Score");
|
|
|
m_txtLevel = (GTextField)comp.GetChild("txtLevel");
|
|
|
+ m_comTaskList = (UI_comTaskList)UI_comTaskList.Create(comp.GetChild("comTaskList"));
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -85,11 +85,12 @@ namespace UI.ActivityDay7
|
|
|
m_tip = null;
|
|
|
m_ExpProcess = null;
|
|
|
m_DayList = null;
|
|
|
- m_TaskList = null;
|
|
|
m_EndIndex = null;
|
|
|
m_StartIndex = null;
|
|
|
m_Score = null;
|
|
|
m_txtLevel = null;
|
|
|
+ m_comTaskList.Dispose();
|
|
|
+ m_comTaskList = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|