|
@@ -9,9 +9,8 @@ namespace UI.FieldGuide
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public GLoader m_loaBg;
|
|
public GLoader m_loaBg;
|
|
public GButton m_btnBack;
|
|
public GButton m_btnBack;
|
|
- public GLoader m_loaItem;
|
|
|
|
- public GTextField m_txtTitle;
|
|
|
|
- public GTextField m_txtDesc;
|
|
|
|
|
|
+ public GList m_list;
|
|
|
|
+ public UI_Button5 m_btnReward;
|
|
public const string URL = "ui://vqq9h9h4wono2k";
|
|
public const string URL = "ui://vqq9h9h4wono2k";
|
|
public const string PACKAGE_NAME = "FieldGuide";
|
|
public const string PACKAGE_NAME = "FieldGuide";
|
|
public const string RES_NAME = "TravelShowUI";
|
|
public const string RES_NAME = "TravelShowUI";
|
|
@@ -61,17 +60,16 @@ namespace UI.FieldGuide
|
|
{
|
|
{
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
- m_loaItem = (GLoader)comp.GetChild("loaItem");
|
|
|
|
- m_txtTitle = (GTextField)comp.GetChild("txtTitle");
|
|
|
|
- m_txtDesc = (GTextField)comp.GetChild("txtDesc");
|
|
|
|
|
|
+ m_list = (GList)comp.GetChild("list");
|
|
|
|
+ m_btnReward = (UI_Button5)UI_Button5.Create(comp.GetChild("btnReward"));
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_loaBg = null;
|
|
m_loaBg = null;
|
|
m_btnBack = null;
|
|
m_btnBack = null;
|
|
- m_loaItem = null;
|
|
|
|
- m_txtTitle = null;
|
|
|
|
- m_txtDesc = null;
|
|
|
|
|
|
+ m_list = null;
|
|
|
|
+ m_btnReward.Dispose();
|
|
|
|
+ m_btnReward = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|