|
@@ -11,17 +11,23 @@ namespace UI.CommonGame
|
|
|
public Controller m_ViewType;
|
|
|
public Controller m_TouchType;
|
|
|
public Controller m_NewType;
|
|
|
+ public Controller m_ShowName;
|
|
|
public GImage m_imgSelect;
|
|
|
public GLoader m_loaBg;
|
|
|
public GLoader m_loaIcon;
|
|
|
public GImage m_imgOnceBonus;
|
|
|
public GLoader m_loaRarity;
|
|
|
public GGraph m_holderReware;
|
|
|
+ public GImage m_imgNum;
|
|
|
public GTextField m_txtCount;
|
|
|
- public GTextField m_txtName;
|
|
|
public GButton m_btnMinus;
|
|
|
public GTextField m_txtDecomHasCount;
|
|
|
public GTextField m_txtDecomCount;
|
|
|
+ public GTextField m_txtName;
|
|
|
+ public GImage m_imgHas;
|
|
|
+ public GImage m_imgNotHas;
|
|
|
+ public GImage m_imgShowTong;
|
|
|
+ public GGroup m_grpGot;
|
|
|
public const string URL = "ui://eg2y0ldpwet2tae";
|
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
|
public const string RES_NAME = "ComItem";
|
|
@@ -73,17 +79,23 @@ namespace UI.CommonGame
|
|
|
m_ViewType = comp.GetController("ViewType");
|
|
|
m_TouchType = comp.GetController("TouchType");
|
|
|
m_NewType = comp.GetController("NewType");
|
|
|
+ m_ShowName = comp.GetController("ShowName");
|
|
|
m_imgSelect = (GImage)comp.GetChild("imgSelect");
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
|
m_imgOnceBonus = (GImage)comp.GetChild("imgOnceBonus");
|
|
|
m_loaRarity = (GLoader)comp.GetChild("loaRarity");
|
|
|
m_holderReware = (GGraph)comp.GetChild("holderReware");
|
|
|
+ m_imgNum = (GImage)comp.GetChild("imgNum");
|
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
- m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
m_btnMinus = (GButton)comp.GetChild("btnMinus");
|
|
|
m_txtDecomHasCount = (GTextField)comp.GetChild("txtDecomHasCount");
|
|
|
m_txtDecomCount = (GTextField)comp.GetChild("txtDecomCount");
|
|
|
+ m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
+ m_imgHas = (GImage)comp.GetChild("imgHas");
|
|
|
+ m_imgNotHas = (GImage)comp.GetChild("imgNotHas");
|
|
|
+ m_imgShowTong = (GImage)comp.GetChild("imgShowTong");
|
|
|
+ m_grpGot = (GGroup)comp.GetChild("grpGot");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -91,17 +103,23 @@ namespace UI.CommonGame
|
|
|
m_ViewType = null;
|
|
|
m_TouchType = null;
|
|
|
m_NewType = null;
|
|
|
+ m_ShowName = null;
|
|
|
m_imgSelect = null;
|
|
|
m_loaBg = null;
|
|
|
m_loaIcon = null;
|
|
|
m_imgOnceBonus = null;
|
|
|
m_loaRarity = null;
|
|
|
m_holderReware = null;
|
|
|
+ m_imgNum = null;
|
|
|
m_txtCount = null;
|
|
|
- m_txtName = null;
|
|
|
m_btnMinus = null;
|
|
|
m_txtDecomHasCount = null;
|
|
|
m_txtDecomCount = null;
|
|
|
+ m_txtName = null;
|
|
|
+ m_imgHas = null;
|
|
|
+ m_imgNotHas = null;
|
|
|
+ m_imgShowTong = null;
|
|
|
+ m_grpGot = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|