/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_MatchingCompetitionWorksUI { public GComponent target; public GLoader m_bg; public GButton m_BtnBack; public GTextField m_titleText; public GList m_worksList; public const string URL = "ui://ri3cveycp3ft1n"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "MatchingCompetitionWorksUI"; private static UI_MatchingCompetitionWorksUI _proxy; public static UI_MatchingCompetitionWorksUI Create(GObject gObject = null) { var ui = new UI_MatchingCompetitionWorksUI(); 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_MatchingCompetitionWorksUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MatchingCompetitionWorksUI(); } 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_bg = (GLoader)comp.GetChild("bg"); m_BtnBack = (GButton)comp.GetChild("BtnBack"); m_titleText = (GTextField)comp.GetChild("titleText"); m_worksList = (GList)comp.GetChild("worksList"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_BtnBack = null; m_titleText = null; m_worksList = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }