|
@@ -10,6 +10,8 @@ namespace UI.Task
|
|
|
public GLoader m_loaBg;
|
|
|
public GButton m_btnBack;
|
|
|
public GList m_listAchieveItem;
|
|
|
+ public Transition m_fadeIn;
|
|
|
+ public Transition m_hide;
|
|
|
public const string URL = "ui://5mpsibzzaigntny";
|
|
|
public const string PACKAGE_NAME = "Task";
|
|
|
public const string RES_NAME = "TaskAchieveUI";
|
|
@@ -60,12 +62,16 @@ namespace UI.Task
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_listAchieveItem = (GList)comp.GetChild("listAchieveItem");
|
|
|
+ m_fadeIn = comp.GetTransition("fadeIn");
|
|
|
+ m_hide = comp.GetTransition("hide");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
m_btnBack = null;
|
|
|
m_listAchieveItem = null;
|
|
|
+ m_fadeIn = null;
|
|
|
+ m_hide = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|