|
@@ -13,6 +13,7 @@ namespace UI.CommonGame
|
|
|
public Controller m_NewType;
|
|
|
public Controller m_ShowName;
|
|
|
public Controller m_ButtonType;
|
|
|
+ public Controller m_Lock;
|
|
|
public GImage m_imgSelect;
|
|
|
public GLoader m_loaBg;
|
|
|
public GLoader m_loaIcon;
|
|
@@ -29,6 +30,7 @@ namespace UI.CommonGame
|
|
|
public GImage m_imgNotHas;
|
|
|
public GImage m_imgShowTong;
|
|
|
public GGroup m_grpGot;
|
|
|
+ public GImage m_lock;
|
|
|
public const string URL = "ui://eg2y0ldpwet2tae";
|
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
|
public const string RES_NAME = "ComItem";
|
|
@@ -82,6 +84,7 @@ namespace UI.CommonGame
|
|
|
m_NewType = comp.GetController("NewType");
|
|
|
m_ShowName = comp.GetController("ShowName");
|
|
|
m_ButtonType = comp.GetController("ButtonType");
|
|
|
+ m_Lock = comp.GetController("Lock");
|
|
|
m_imgSelect = (GImage)comp.GetChild("imgSelect");
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
@@ -98,6 +101,7 @@ namespace UI.CommonGame
|
|
|
m_imgNotHas = (GImage)comp.GetChild("imgNotHas");
|
|
|
m_imgShowTong = (GImage)comp.GetChild("imgShowTong");
|
|
|
m_grpGot = (GGroup)comp.GetChild("grpGot");
|
|
|
+ m_lock = (GImage)comp.GetChild("lock");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -107,6 +111,7 @@ namespace UI.CommonGame
|
|
|
m_NewType = null;
|
|
|
m_ShowName = null;
|
|
|
m_ButtonType = null;
|
|
|
+ m_Lock = null;
|
|
|
m_imgSelect = null;
|
|
|
m_loaBg = null;
|
|
|
m_loaIcon = null;
|
|
@@ -123,6 +128,7 @@ namespace UI.CommonGame
|
|
|
m_imgNotHas = null;
|
|
|
m_imgShowTong = null;
|
|
|
m_grpGot = null;
|
|
|
+ m_lock = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|