/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_BtnReceive { public GButton target; public GImage m_received; public GImage m_receive; public GTextField m_txtRec; public const string URL = "ui://eg2y0ldpqqhzv"; public const string PACKAGE_NAME = "CommonGame"; public const string RES_NAME = "BtnReceive"; private static UI_BtnReceive _proxy; public static UI_BtnReceive Create(GObject gObject = null) { var ui = new UI_BtnReceive(); if(gObject == null) ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GButton)gObject; ui.Init(ui.target); return ui; } public static UI_BtnReceive Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BtnReceive(); } var ui = _proxy; if(gObject == null) ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GButton)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_received = (GImage)comp.GetChild("received"); m_receive = (GImage)comp.GetChild("receive"); m_txtRec = (GTextField)comp.GetChild("txtRec"); } public void Dispose(bool disposeTarget = false) { m_received = null; m_receive = null; m_txtRec = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }