|
@@ -11,6 +11,7 @@ namespace UI.CommonGame
|
|
|
public GGraph m_holderEffect;
|
|
|
public GGraph m_holder;
|
|
|
public GTextField m_txtName;
|
|
|
+ public GLoader m_icon;
|
|
|
public GComponent m_item;
|
|
|
public const string URL = "ui://eg2y0ldptu965e";
|
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
@@ -63,6 +64,7 @@ namespace UI.CommonGame
|
|
|
m_holderEffect = (GGraph)comp.GetChild("holderEffect");
|
|
|
m_holder = (GGraph)comp.GetChild("holder");
|
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
+ m_icon = (GLoader)comp.GetChild("icon");
|
|
|
m_item = (GComponent)comp.GetChild("item");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
@@ -71,6 +73,7 @@ namespace UI.CommonGame
|
|
|
m_holderEffect = null;
|
|
|
m_holder = null;
|
|
|
m_txtName = null;
|
|
|
+ m_icon = null;
|
|
|
m_item = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|