/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Studio { public partial class UI_StudioBuyNumUI { public GComponent target; public Controller m_c1; public GLoader m_loaBg; public GTextField m_txtTitle; public GTextField m_txtTips; public GTextField m_txtNum0; public GTextField m_txtNum1; public GComponent m_comCostItem; public GButton m_btnExchange; public GComponent m_comCostCurrent; public GButton m_btnBuy; public GButton m_btnBack; public const string URL = "ui://xz8kxrecn3xhh"; public const string PACKAGE_NAME = "Studio"; public const string RES_NAME = "StudioBuyNumUI"; private static UI_StudioBuyNumUI _proxy; public static UI_StudioBuyNumUI Create(GObject gObject = null) { var ui = new UI_StudioBuyNumUI(); 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_StudioBuyNumUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_StudioBuyNumUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_txtTips = (GTextField)comp.GetChild("txtTips"); m_txtNum0 = (GTextField)comp.GetChild("txtNum0"); m_txtNum1 = (GTextField)comp.GetChild("txtNum1"); m_comCostItem = (GComponent)comp.GetChild("comCostItem"); m_btnExchange = (GButton)comp.GetChild("btnExchange"); m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent"); m_btnBuy = (GButton)comp.GetChild("btnBuy"); m_btnBack = (GButton)comp.GetChild("btnBack"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_loaBg = null; m_txtTitle = null; m_txtTips = null; m_txtNum0 = null; m_txtNum1 = null; m_comCostItem = null; m_btnExchange = null; m_comCostCurrent = null; m_btnBuy = null; m_btnBack = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }