/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Notice { public partial class UI_NoticeSystemShowUI { public GComponent target; public GLoader m_btnBg; public GButton m_btnBack; public GTextField m_txtTitle; public UI_ComContent m_ComContent; public const string URL = "ui://d8t5ezjbkjq3t"; public const string PACKAGE_NAME = "Notice"; public const string RES_NAME = "NoticeSystemShowUI"; private static UI_NoticeSystemShowUI _proxy; public static UI_NoticeSystemShowUI Create(GObject gObject = null) { var ui = new UI_NoticeSystemShowUI(); 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_NoticeSystemShowUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_NoticeSystemShowUI(); } 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_btnBg = (GLoader)comp.GetChild("btnBg"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_ComContent = (UI_ComContent)UI_ComContent.Create(comp.GetChild("ComContent")); } public void Dispose(bool disposeTarget = false) { m_btnBg = null; m_btnBack = null; m_txtTitle = null; m_ComContent.Dispose(); m_ComContent = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }