/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_BuyCountUI { public GComponent target; public Controller m_c1; public GImage m_bg; public GButton m_btnAll; public GLoader m_icon; public GLoader m_rarity; public GTextField m_txtName; public GButton m_btnPlus; public GButton m_btnMinus; public GTextField m_txtCount; public GLoader m_iconPrice; public GTextField m_txtPrice; public GButton m_btnSure; public GButton m_btnCancel; public GTextField m_txtBuyTips; public const string URL = "ui://eg2y0ldphinb5r"; public const string PACKAGE_NAME = "CommonGame"; public const string RES_NAME = "BuyCountUI"; private static UI_BuyCountUI _proxy; public static UI_BuyCountUI Create(GObject gObject = null) { var ui = new UI_BuyCountUI(); 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_BuyCountUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BuyCountUI(); } 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_c1 = comp.GetController("c1"); m_bg = (GImage)comp.GetChild("bg"); m_btnAll = (GButton)comp.GetChild("btnAll"); m_icon = (GLoader)comp.GetChild("icon"); m_rarity = (GLoader)comp.GetChild("rarity"); m_txtName = (GTextField)comp.GetChild("txtName"); m_btnPlus = (GButton)comp.GetChild("btnPlus"); m_btnMinus = (GButton)comp.GetChild("btnMinus"); m_txtCount = (GTextField)comp.GetChild("txtCount"); m_iconPrice = (GLoader)comp.GetChild("iconPrice"); m_txtPrice = (GTextField)comp.GetChild("txtPrice"); m_btnSure = (GButton)comp.GetChild("btnSure"); m_btnCancel = (GButton)comp.GetChild("btnCancel"); m_txtBuyTips = (GTextField)comp.GetChild("txtBuyTips"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_bg = null; m_btnAll = null; m_icon = null; m_rarity = null; m_txtName = null; m_btnPlus = null; m_btnMinus = null; m_txtCount = null; m_iconPrice = null; m_txtPrice = null; m_btnSure = null; m_btnCancel = null; m_txtBuyTips = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }