|
@@ -14,6 +14,7 @@ namespace UI.Task
|
|
public GButton m_btnTask;
|
|
public GButton m_btnTask;
|
|
public GButton m_btnWeekly;
|
|
public GButton m_btnWeekly;
|
|
public UI_CombTaskUI m_taskInfoCom;
|
|
public UI_CombTaskUI m_taskInfoCom;
|
|
|
|
+ public GButton m_btnAchieve;
|
|
public const string URL = "ui://5mpsibzzfqor2n";
|
|
public const string URL = "ui://5mpsibzzfqor2n";
|
|
public const string PACKAGE_NAME = "Task";
|
|
public const string PACKAGE_NAME = "Task";
|
|
public const string RES_NAME = "TaskUI";
|
|
public const string RES_NAME = "TaskUI";
|
|
@@ -68,6 +69,7 @@ namespace UI.Task
|
|
m_btnTask = (GButton)comp.GetChild("btnTask");
|
|
m_btnTask = (GButton)comp.GetChild("btnTask");
|
|
m_btnWeekly = (GButton)comp.GetChild("btnWeekly");
|
|
m_btnWeekly = (GButton)comp.GetChild("btnWeekly");
|
|
m_taskInfoCom = (UI_CombTaskUI)UI_CombTaskUI.Create(comp.GetChild("taskInfoCom"));
|
|
m_taskInfoCom = (UI_CombTaskUI)UI_CombTaskUI.Create(comp.GetChild("taskInfoCom"));
|
|
|
|
+ m_btnAchieve = (GButton)comp.GetChild("btnAchieve");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -79,6 +81,7 @@ namespace UI.Task
|
|
m_btnWeekly = null;
|
|
m_btnWeekly = null;
|
|
m_taskInfoCom.Dispose();
|
|
m_taskInfoCom.Dispose();
|
|
m_taskInfoCom = null;
|
|
m_taskInfoCom = null;
|
|
|
|
+ m_btnAchieve = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|