/** 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 GGraph m_holderTitle; public GGraph m_holderFog; public GButton m_btnBack; public GButton m_btnAnswerTianmen; public GButton m_btnMingTong; public GButton m_btnHeaven; public GButton m_btnNineZhouPool; public GButton m_btnTenShu; public GTextField m_txtDay; public GTextField m_txtHour; public GTextField m_txtMinute; 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_holderTitle = (GGraph)comp.GetChild("holderTitle"); m_holderFog = (GGraph)comp.GetChild("holderFog"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_btnAnswerTianmen = (GButton)comp.GetChild("btnAnswerTianmen"); m_btnMingTong = (GButton)comp.GetChild("btnMingTong"); m_btnHeaven = (GButton)comp.GetChild("btnHeaven"); m_btnNineZhouPool = (GButton)comp.GetChild("btnNineZhouPool"); m_btnTenShu = (GButton)comp.GetChild("btnTenShu"); m_txtDay = (GTextField)comp.GetChild("txtDay"); m_txtHour = (GTextField)comp.GetChild("txtHour"); m_txtMinute = (GTextField)comp.GetChild("txtMinute"); m_openEff = comp.GetTransition("openEff"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_holderSmallBg = null; m_holderTitle = null; m_holderFog = null; m_btnBack = null; m_btnAnswerTianmen = null; m_btnMingTong = null; m_btnHeaven = null; m_btnNineZhouPool = null; m_btnTenShu = null; m_txtDay = null; m_txtHour = null; m_txtMinute = null; m_openEff = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }