|
@@ -20,7 +20,10 @@ namespace UI.CommonGame
|
|
public GTextField m_txtZhi;
|
|
public GTextField m_txtZhi;
|
|
public GGroup m_grpScore;
|
|
public GGroup m_grpScore;
|
|
public GList m_listTag;
|
|
public GList m_listTag;
|
|
- public GList m_listItem;
|
|
|
|
|
|
+ public UI_ComScaleList m_comScaleList;
|
|
|
|
+ public GGroup m_grpComScaleList;
|
|
|
|
+ public GTextField m_txtLock;
|
|
|
|
+ public GGroup m_grpLock;
|
|
public GTextField m_txtShow;
|
|
public GTextField m_txtShow;
|
|
public UI_Button2 m_btnMinus;
|
|
public UI_Button2 m_btnMinus;
|
|
public UI_Button16 m_btnAdd;
|
|
public UI_Button16 m_btnAdd;
|
|
@@ -33,8 +36,6 @@ namespace UI.CommonGame
|
|
public GButton m_btnConfirm;
|
|
public GButton m_btnConfirm;
|
|
public GGroup m_bgpBtn;
|
|
public GGroup m_bgpBtn;
|
|
public GGroup m_grpBtn;
|
|
public GGroup m_grpBtn;
|
|
- public GTextField m_txtLock;
|
|
|
|
- public GGroup m_grpLock;
|
|
|
|
public const string URL = "ui://eg2y0ldps5s9tik";
|
|
public const string URL = "ui://eg2y0ldps5s9tik";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string RES_NAME = "ItemExchangeUI";
|
|
public const string RES_NAME = "ItemExchangeUI";
|
|
@@ -95,7 +96,10 @@ namespace UI.CommonGame
|
|
m_txtZhi = (GTextField)comp.GetChild("txtZhi");
|
|
m_txtZhi = (GTextField)comp.GetChild("txtZhi");
|
|
m_grpScore = (GGroup)comp.GetChild("grpScore");
|
|
m_grpScore = (GGroup)comp.GetChild("grpScore");
|
|
m_listTag = (GList)comp.GetChild("listTag");
|
|
m_listTag = (GList)comp.GetChild("listTag");
|
|
- m_listItem = (GList)comp.GetChild("listItem");
|
|
|
|
|
|
+ m_comScaleList = (UI_ComScaleList)UI_ComScaleList.Create(comp.GetChild("comScaleList"));
|
|
|
|
+ m_grpComScaleList = (GGroup)comp.GetChild("grpComScaleList");
|
|
|
|
+ m_txtLock = (GTextField)comp.GetChild("txtLock");
|
|
|
|
+ m_grpLock = (GGroup)comp.GetChild("grpLock");
|
|
m_txtShow = (GTextField)comp.GetChild("txtShow");
|
|
m_txtShow = (GTextField)comp.GetChild("txtShow");
|
|
m_btnMinus = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMinus"));
|
|
m_btnMinus = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMinus"));
|
|
m_btnAdd = (UI_Button16)UI_Button16.Create(comp.GetChild("btnAdd"));
|
|
m_btnAdd = (UI_Button16)UI_Button16.Create(comp.GetChild("btnAdd"));
|
|
@@ -108,8 +112,6 @@ namespace UI.CommonGame
|
|
m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
|
|
m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
|
|
m_bgpBtn = (GGroup)comp.GetChild("bgpBtn");
|
|
m_bgpBtn = (GGroup)comp.GetChild("bgpBtn");
|
|
m_grpBtn = (GGroup)comp.GetChild("grpBtn");
|
|
m_grpBtn = (GGroup)comp.GetChild("grpBtn");
|
|
- m_txtLock = (GTextField)comp.GetChild("txtLock");
|
|
|
|
- m_grpLock = (GGroup)comp.GetChild("grpLock");
|
|
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -127,7 +129,11 @@ namespace UI.CommonGame
|
|
m_txtZhi = null;
|
|
m_txtZhi = null;
|
|
m_grpScore = null;
|
|
m_grpScore = null;
|
|
m_listTag = null;
|
|
m_listTag = null;
|
|
- m_listItem = null;
|
|
|
|
|
|
+ m_comScaleList.Dispose();
|
|
|
|
+ m_comScaleList = null;
|
|
|
|
+ m_grpComScaleList = null;
|
|
|
|
+ m_txtLock = null;
|
|
|
|
+ m_grpLock = null;
|
|
m_txtShow = null;
|
|
m_txtShow = null;
|
|
m_btnMinus.Dispose();
|
|
m_btnMinus.Dispose();
|
|
m_btnMinus = null;
|
|
m_btnMinus = null;
|
|
@@ -144,8 +150,6 @@ namespace UI.CommonGame
|
|
m_btnConfirm = null;
|
|
m_btnConfirm = null;
|
|
m_bgpBtn = null;
|
|
m_bgpBtn = null;
|
|
m_grpBtn = null;
|
|
m_grpBtn = null;
|
|
- m_txtLock = null;
|
|
|
|
- m_grpLock = null;
|
|
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|