/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_MatchingCompetitionGatheringUI { public GComponent target; public Controller m_c1; public GLoader m_bg; public GGraph m_suitShow; public GLoader m_playerImage; public GLoader m_ruleBtn; public GTextField m_titleText; public GTextField m_timeText; public GTextField m_suitName; public GGroup m_desc; public GButton m_btnUploadWorks; public GButton m_btnShop; public GButton m_BtnBack; public const string URL = "ui://ri3cveychtuj0"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "MatchingCompetitionGatheringUI"; private static UI_MatchingCompetitionGatheringUI _proxy; public static UI_MatchingCompetitionGatheringUI Create(GObject gObject = null) { var ui = new UI_MatchingCompetitionGatheringUI(); 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_MatchingCompetitionGatheringUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MatchingCompetitionGatheringUI(); } 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_c1 = comp.GetController("c1"); m_bg = (GLoader)comp.GetChild("bg"); m_suitShow = (GGraph)comp.GetChild("suitShow"); m_playerImage = (GLoader)comp.GetChild("playerImage"); m_ruleBtn = (GLoader)comp.GetChild("ruleBtn"); m_titleText = (GTextField)comp.GetChild("titleText"); m_timeText = (GTextField)comp.GetChild("timeText"); m_suitName = (GTextField)comp.GetChild("suitName"); m_desc = (GGroup)comp.GetChild("desc"); m_btnUploadWorks = (GButton)comp.GetChild("btnUploadWorks"); m_btnShop = (GButton)comp.GetChild("btnShop"); m_BtnBack = (GButton)comp.GetChild("BtnBack"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_bg = null; m_suitShow = null; m_playerImage = null; m_ruleBtn = null; m_titleText = null; m_timeText = null; m_suitName = null; m_desc = null; m_btnUploadWorks = null; m_btnShop = null; m_BtnBack = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }