|
@@ -10,6 +10,7 @@ namespace UI.DailyWelfare
|
|
|
public GLoader m_loaIcon;
|
|
|
public GTextField m_txtCount;
|
|
|
public GTextField m_txtDay;
|
|
|
+ public GImage m_imgGot;
|
|
|
public const string URL = "ui://t8nwuj7ifqor8";
|
|
|
public const string PACKAGE_NAME = "DailyWelfare";
|
|
|
public const string RES_NAME = "ComProBonus";
|
|
@@ -60,12 +61,14 @@ namespace UI.DailyWelfare
|
|
|
m_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
m_txtDay = (GTextField)comp.GetChild("txtDay");
|
|
|
+ m_imgGot = (GImage)comp.GetChild("imgGot");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaIcon = null;
|
|
|
m_txtCount = null;
|
|
|
m_txtDay = null;
|
|
|
+ m_imgGot = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|