|
@@ -13,6 +13,7 @@ namespace UI.Card
|
|
|
public GTextField m_txtLv;
|
|
|
public GTextField m_txtName;
|
|
|
public GComponent m_comStar;
|
|
|
+ public GLoader m_loaMainScore;
|
|
|
public const string URL = "ui://7l6lvkayojlzi";
|
|
|
public const string PACKAGE_NAME = "Card";
|
|
|
public const string RES_NAME = "ListCardItem";
|
|
@@ -66,6 +67,7 @@ namespace UI.Card
|
|
|
m_txtLv = (GTextField)comp.GetChild("txtLv");
|
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
m_comStar = (GComponent)comp.GetChild("comStar");
|
|
|
+ m_loaMainScore = (GLoader)comp.GetChild("loaMainScore");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -76,6 +78,7 @@ namespace UI.Card
|
|
|
m_txtLv = null;
|
|
|
m_txtName = null;
|
|
|
m_comStar = null;
|
|
|
+ m_loaMainScore = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|