|
@@ -8,9 +8,9 @@ namespace UI.Main
|
|
{
|
|
{
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public GLoader m_bg;
|
|
public GLoader m_bg;
|
|
- public GTextField m_txtName;
|
|
|
|
public UI_Component1 m_compDressUp;
|
|
public UI_Component1 m_compDressUp;
|
|
public UI_ComponentHead m_comphead;
|
|
public UI_ComponentHead m_comphead;
|
|
|
|
+ public GTextField m_txtName;
|
|
public GTextField m_txtContent;
|
|
public GTextField m_txtContent;
|
|
public UI_CompArrow m_iconNext;
|
|
public UI_CompArrow m_iconNext;
|
|
public const string URL = "ui://mfvz4q8kuftz9fvc";
|
|
public const string URL = "ui://mfvz4q8kuftz9fvc";
|
|
@@ -61,20 +61,20 @@ namespace UI.Main
|
|
private void Init(GComponent comp)
|
|
private void Init(GComponent comp)
|
|
{
|
|
{
|
|
m_bg = (GLoader)comp.GetChild("bg");
|
|
m_bg = (GLoader)comp.GetChild("bg");
|
|
- m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
|
m_compDressUp = (UI_Component1)UI_Component1.Create(comp.GetChild("compDressUp"));
|
|
m_compDressUp = (UI_Component1)UI_Component1.Create(comp.GetChild("compDressUp"));
|
|
m_comphead = (UI_ComponentHead)UI_ComponentHead.Create(comp.GetChild("comphead"));
|
|
m_comphead = (UI_ComponentHead)UI_ComponentHead.Create(comp.GetChild("comphead"));
|
|
|
|
+ m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtContent = (GTextField)comp.GetChild("txtContent");
|
|
m_txtContent = (GTextField)comp.GetChild("txtContent");
|
|
m_iconNext = (UI_CompArrow)UI_CompArrow.Create(comp.GetChild("iconNext"));
|
|
m_iconNext = (UI_CompArrow)UI_CompArrow.Create(comp.GetChild("iconNext"));
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_bg = null;
|
|
m_bg = null;
|
|
- m_txtName = null;
|
|
|
|
m_compDressUp.Dispose();
|
|
m_compDressUp.Dispose();
|
|
m_compDressUp = null;
|
|
m_compDressUp = null;
|
|
m_comphead.Dispose();
|
|
m_comphead.Dispose();
|
|
m_comphead = null;
|
|
m_comphead = null;
|
|
|
|
+ m_txtName = null;
|
|
m_txtContent = null;
|
|
m_txtContent = null;
|
|
m_iconNext.Dispose();
|
|
m_iconNext.Dispose();
|
|
m_iconNext = null;
|
|
m_iconNext = null;
|