|
@@ -10,6 +10,7 @@ namespace UI.CommonGame
|
|
|
public GLoader m_loaIcon;
|
|
|
public GTextField m_txtCount;
|
|
|
public GTextField m_txtName;
|
|
|
+ public GImage m_imgOnceBonus;
|
|
|
public const string URL = "ui://eg2y0ldpwet2tae";
|
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
|
public const string RES_NAME = "ComRewardItem";
|
|
@@ -60,12 +61,14 @@ namespace UI.CommonGame
|
|
|
m_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
+ m_imgOnceBonus = (GImage)comp.GetChild("imgOnceBonus");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaIcon = null;
|
|
|
m_txtCount = null;
|
|
|
m_txtName = null;
|
|
|
+ m_imgOnceBonus = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|