/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_MatchingCompetitionUpLoadUI { public GComponent target; public Controller m_c1; public GLoader m_bg; public GLoader m_playerImage; public GButton m_BtnBack; public GButton m_btnLook; public GLoader m_ruleBtn; public GTextField m_titleText; public GTextField m_timeText; public GButton m_btnRank; public GButton m_btnUploadWorks; public GButton m_btnShop; public GButton m_btnMyWorks; public GButton m_beforeWork; public UI_Component1 m_playerHead; public GButton m_btnExchage; public GLoader m_countTime; public const string URL = "ui://ri3cveycp3ft1c"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "MatchingCompetitionUpLoadUI"; private static UI_MatchingCompetitionUpLoadUI _proxy; public static UI_MatchingCompetitionUpLoadUI Create(GObject gObject = null) { var ui = new UI_MatchingCompetitionUpLoadUI(); 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_MatchingCompetitionUpLoadUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MatchingCompetitionUpLoadUI(); } 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_playerImage = (GLoader)comp.GetChild("playerImage"); m_BtnBack = (GButton)comp.GetChild("BtnBack"); m_btnLook = (GButton)comp.GetChild("btnLook"); m_ruleBtn = (GLoader)comp.GetChild("ruleBtn"); m_titleText = (GTextField)comp.GetChild("titleText"); m_timeText = (GTextField)comp.GetChild("timeText"); m_btnRank = (GButton)comp.GetChild("btnRank"); m_btnUploadWorks = (GButton)comp.GetChild("btnUploadWorks"); m_btnShop = (GButton)comp.GetChild("btnShop"); m_btnMyWorks = (GButton)comp.GetChild("btnMyWorks"); m_beforeWork = (GButton)comp.GetChild("beforeWork"); m_playerHead = (UI_Component1)UI_Component1.Create(comp.GetChild("playerHead")); m_btnExchage = (GButton)comp.GetChild("btnExchage"); m_countTime = (GLoader)comp.GetChild("countTime"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_bg = null; m_playerImage = null; m_BtnBack = null; m_btnLook = null; m_ruleBtn = null; m_titleText = null; m_timeText = null; m_btnRank = null; m_btnUploadWorks = null; m_btnShop = null; m_btnMyWorks = null; m_beforeWork = null; m_playerHead.Dispose(); m_playerHead = null; m_btnExchage = null; m_countTime = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }