|
@@ -8,7 +8,6 @@ namespace UI.CommonGame
|
|
{
|
|
{
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public GLoader m_logIcon;
|
|
public GLoader m_logIcon;
|
|
- public GTextField m_txtTitle;
|
|
|
|
public GTextField m_txtName;
|
|
public GTextField m_txtName;
|
|
public const string URL = "ui://eg2y0ldpeiwu9v";
|
|
public const string URL = "ui://eg2y0ldpeiwu9v";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
@@ -58,13 +57,11 @@ namespace UI.CommonGame
|
|
private void Init(GComponent comp)
|
|
private void Init(GComponent comp)
|
|
{
|
|
{
|
|
m_logIcon = (GLoader)comp.GetChild("logIcon");
|
|
m_logIcon = (GLoader)comp.GetChild("logIcon");
|
|
- m_txtTitle = (GTextField)comp.GetChild("txtTitle");
|
|
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_logIcon = null;
|
|
m_logIcon = null;
|
|
- m_txtTitle = null;
|
|
|
|
m_txtName = null;
|
|
m_txtName = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|