/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.OpenServerActivity { public partial class UI_OpenServerActivityUI { public GComponent target; public GLoader m_loaBg; public GGraph m_holderSmallBg; public GButton m_btnBack; public GGraph m_holderTitle; public GGraph m_holderFog; public GTextField m_timeText; public GButton m_ruleBtn; public GButton m_btnTenShu; public UI_BtnAnswerTianmen m_btnAnswerTianmen; public UI_BtnMingTong m_btnMingTong; public UI_BtnNineZhouPool m_btnNineZhouPool; public UI_BtnHeaven m_btnHeaven; public GGraph m_holderSmallBgTx; public GButton m_buttonNewYearLogin; public Transition m_openEff; public const string URL = "ui://b8ha2mnsdedg0"; public const string PACKAGE_NAME = "OpenServerActivity"; public const string RES_NAME = "OpenServerActivityUI"; private static UI_OpenServerActivityUI _proxy; public static UI_OpenServerActivityUI Create(GObject gObject = null) { var ui = new UI_OpenServerActivityUI(); 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_OpenServerActivityUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_OpenServerActivityUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_holderSmallBg = (GGraph)comp.GetChild("holderSmallBg"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_holderTitle = (GGraph)comp.GetChild("holderTitle"); m_holderFog = (GGraph)comp.GetChild("holderFog"); m_timeText = (GTextField)comp.GetChild("timeText"); m_ruleBtn = (GButton)comp.GetChild("ruleBtn"); m_btnTenShu = (GButton)comp.GetChild("btnTenShu"); m_btnAnswerTianmen = (UI_BtnAnswerTianmen)UI_BtnAnswerTianmen.Create(comp.GetChild("btnAnswerTianmen")); m_btnMingTong = (UI_BtnMingTong)UI_BtnMingTong.Create(comp.GetChild("btnMingTong")); m_btnNineZhouPool = (UI_BtnNineZhouPool)UI_BtnNineZhouPool.Create(comp.GetChild("btnNineZhouPool")); m_btnHeaven = (UI_BtnHeaven)UI_BtnHeaven.Create(comp.GetChild("btnHeaven")); m_holderSmallBgTx = (GGraph)comp.GetChild("holderSmallBgTx"); m_buttonNewYearLogin = (GButton)comp.GetChild("buttonNewYearLogin"); m_openEff = comp.GetTransition("openEff"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_holderSmallBg = null; m_btnBack = null; m_holderTitle = null; m_holderFog = null; m_timeText = null; m_ruleBtn = null; m_btnTenShu = null; m_btnAnswerTianmen.Dispose(); m_btnAnswerTianmen = null; m_btnMingTong.Dispose(); m_btnMingTong = null; m_btnNineZhouPool.Dispose(); m_btnNineZhouPool = null; m_btnHeaven.Dispose(); m_btnHeaven = null; m_holderSmallBgTx = null; m_buttonNewYearLogin = null; m_openEff = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }