/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.FieldGuide { public partial class UI_ChapterItemGuideUI { public GComponent target; public GLoader m_loaBg; public GComponent m_btnBack; public GList m_list; public const string URL = "ui://vqq9h9h4s61p1y"; public const string PACKAGE_NAME = "FieldGuide"; public const string RES_NAME = "ChapterItemGuideUI"; private static UI_ChapterItemGuideUI _proxy; public static UI_ChapterItemGuideUI Create(GObject gObject = null) { var ui = new UI_ChapterItemGuideUI(); 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_ChapterItemGuideUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ChapterItemGuideUI(); } 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_btnBack = (GComponent)comp.GetChild("btnBack"); m_list = (GList)comp.GetChild("list"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_list = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }