/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_LeagueGiftUI { public GComponent target; public Controller m_c1; public GLoader m_loaBg; public GButton m_btnBack; public GButton m_btnRule; public GButton m_btnGet; public GList m_listGet; public GList m_listBuy; public GGroup m_grpTips; public const string URL = "ui://tw70qm9dpvb45h"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "LeagueGiftUI"; private static UI_LeagueGiftUI _proxy; public static UI_LeagueGiftUI Create(GObject gObject = null) { var ui = new UI_LeagueGiftUI(); 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_LeagueGiftUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LeagueGiftUI(); } 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_btnBack = (GButton)comp.GetChild("btnBack"); m_btnRule = (GButton)comp.GetChild("btnRule"); m_btnGet = (GButton)comp.GetChild("btnGet"); m_listGet = (GList)comp.GetChild("listGet"); m_listBuy = (GList)comp.GetChild("listBuy"); m_grpTips = (GGroup)comp.GetChild("grpTips"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_loaBg = null; m_btnBack = null; m_btnRule = null; m_btnGet = null; m_listGet = null; m_listBuy = null; m_grpTips = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }