|
@@ -8,6 +8,7 @@ namespace UI.Common
|
|
|
{
|
|
|
public GComponent target;
|
|
|
public GTextField m_txtMessage;
|
|
|
+ public GGraph m_holder;
|
|
|
public const string URL = "ui://mk0fwx0xd4iw4m";
|
|
|
public const string PACKAGE_NAME = "Common";
|
|
|
public const string RES_NAME = "ModalStatusUI";
|
|
@@ -56,10 +57,12 @@ namespace UI.Common
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
m_txtMessage = (GTextField)comp.GetChild("txtMessage");
|
|
|
+ m_holder = (GGraph)comp.GetChild("holder");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_txtMessage = null;
|
|
|
+ m_holder = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|