/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_ComItem { public GComponent target; public Controller m_QualityType; public Controller m_CountType; public Controller m_TouchType; public Controller m_NewType; public Controller m_ShowName; public Controller m_ButtonType; 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 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"; private static UI_ComItem _proxy; public static UI_ComItem Create(GObject gObject = null) { var ui = new UI_ComItem(); if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static UI_ComItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComItem(); } var ui = _proxy; if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static void ProxyEnd() { if (_proxy != null) { _proxy.Dispose(); } } public static void ClearProxy() { ProxyEnd(); _proxy = null; } private void Init(GComponent comp) { m_QualityType = comp.GetController("QualityType"); m_CountType = comp.GetController("CountType"); m_TouchType = comp.GetController("TouchType"); m_NewType = comp.GetController("NewType"); m_ShowName = comp.GetController("ShowName"); m_ButtonType = comp.GetController("ButtonType"); 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_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) { m_QualityType = null; m_CountType = null; m_TouchType = null; m_NewType = null; m_ShowName = null; m_ButtonType = 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_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(); target.Dispose(); } target = null; } } }