/** 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 UI_Component2 m_mask; public UI_Component3 m_rectFrame; public UI_Component1 m_compTxt; public GImage m_rectFrameTemp; 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_mask = (UI_Component2)UI_Component2.Create(comp.GetChild("mask")); m_rectFrame = (UI_Component3)UI_Component3.Create(comp.GetChild("rectFrame")); m_compTxt = (UI_Component1)UI_Component1.Create(comp.GetChild("compTxt")); m_rectFrameTemp = (GImage)comp.GetChild("rectFrameTemp"); } public void Dispose(bool disposeTarget = false) { m_mask.Dispose(); m_mask = null; m_rectFrame.Dispose(); m_rectFrame = null; m_compTxt.Dispose(); m_compTxt = null; m_rectFrameTemp = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }