|
@@ -17,9 +17,9 @@ namespace UI.DressUp
|
|
public GButton m_btnChoose;
|
|
public GButton m_btnChoose;
|
|
public GButton m_btnUp;
|
|
public GButton m_btnUp;
|
|
public GButton m_btnDown;
|
|
public GButton m_btnDown;
|
|
- public UI_ComItemList m_ComSelectRes;
|
|
|
|
public GButton m_btnGalleryJoin;
|
|
public GButton m_btnGalleryJoin;
|
|
public GTextField m_txtCount;
|
|
public GTextField m_txtCount;
|
|
|
|
+ public UI_ComItemList m_ComSelectRes;
|
|
public const string URL = "ui://mbo439wbbe944a";
|
|
public const string URL = "ui://mbo439wbbe944a";
|
|
public const string PACKAGE_NAME = "DressUp";
|
|
public const string PACKAGE_NAME = "DressUp";
|
|
public const string RES_NAME = "PhotographUI";
|
|
public const string RES_NAME = "PhotographUI";
|
|
@@ -77,9 +77,9 @@ namespace UI.DressUp
|
|
m_btnChoose = (GButton)comp.GetChild("btnChoose");
|
|
m_btnChoose = (GButton)comp.GetChild("btnChoose");
|
|
m_btnUp = (GButton)comp.GetChild("btnUp");
|
|
m_btnUp = (GButton)comp.GetChild("btnUp");
|
|
m_btnDown = (GButton)comp.GetChild("btnDown");
|
|
m_btnDown = (GButton)comp.GetChild("btnDown");
|
|
- m_ComSelectRes = (UI_ComItemList)UI_ComItemList.Create(comp.GetChild("ComSelectRes"));
|
|
|
|
m_btnGalleryJoin = (GButton)comp.GetChild("btnGalleryJoin");
|
|
m_btnGalleryJoin = (GButton)comp.GetChild("btnGalleryJoin");
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
|
+ m_ComSelectRes = (UI_ComItemList)UI_ComItemList.Create(comp.GetChild("ComSelectRes"));
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -94,10 +94,10 @@ namespace UI.DressUp
|
|
m_btnChoose = null;
|
|
m_btnChoose = null;
|
|
m_btnUp = null;
|
|
m_btnUp = null;
|
|
m_btnDown = null;
|
|
m_btnDown = null;
|
|
- m_ComSelectRes.Dispose();
|
|
|
|
- m_ComSelectRes = null;
|
|
|
|
m_btnGalleryJoin = null;
|
|
m_btnGalleryJoin = null;
|
|
m_txtCount = null;
|
|
m_txtCount = null;
|
|
|
|
+ m_ComSelectRes.Dispose();
|
|
|
|
+ m_ComSelectRes = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|