/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Guide { public partial class UI_GuideUI { public GComponent target; public GGraph m_grhMask; public UI_Component2 m_mask; public GLoader m_loaMask; public UI_ComHolder m_comHolder; public UI_Component1 m_compTxt; public const string URL = "ui://vxxz0ya7rpol4"; public const string PACKAGE_NAME = "Guide"; public const string RES_NAME = "GuideUI"; private static UI_GuideUI _proxy; public static UI_GuideUI Create(GObject gObject = null) { var ui = new UI_GuideUI(); 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_GuideUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_GuideUI(); } 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_grhMask = (GGraph)comp.GetChild("grhMask"); m_mask = (UI_Component2)UI_Component2.Create(comp.GetChild("mask")); m_loaMask = (GLoader)comp.GetChild("loaMask"); m_comHolder = (UI_ComHolder)UI_ComHolder.Create(comp.GetChild("comHolder")); m_compTxt = (UI_Component1)UI_Component1.Create(comp.GetChild("compTxt")); } public void Dispose(bool disposeTarget = false) { m_grhMask = null; m_mask.Dispose(); m_mask = null; m_loaMask = null; m_comHolder.Dispose(); m_comHolder = null; m_compTxt.Dispose(); m_compTxt = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }