/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_MatchingCompetitionSelectUI { public GComponent target; public GLoader m_bg; public UI_Component12 m_playerShow1; public UI_Component13 m_playerShow2; public GLoader m_ruleBtn; public GTextField m_titleText; public UI_Component11 m_player1; public UI_Component11 m_player2; public GTextField m_timeText; public UI_Button3 m_select1; public GTextField m_selectText1; public UI_Button3 m_select2; public GTextField m_selectText2; public GButton m_BtnBack; public Transition m_t0; public Transition m_t1; public const string URL = "ui://ri3cveycp3ft1s"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "MatchingCompetitionSelectUI"; private static UI_MatchingCompetitionSelectUI _proxy; public static UI_MatchingCompetitionSelectUI Create(GObject gObject = null) { var ui = new UI_MatchingCompetitionSelectUI(); 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_MatchingCompetitionSelectUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MatchingCompetitionSelectUI(); } 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_playerShow1 = (UI_Component12)UI_Component12.Create(comp.GetChild("playerShow1")); m_playerShow2 = (UI_Component13)UI_Component13.Create(comp.GetChild("playerShow2")); m_ruleBtn = (GLoader)comp.GetChild("ruleBtn"); m_titleText = (GTextField)comp.GetChild("titleText"); m_player1 = (UI_Component11)UI_Component11.Create(comp.GetChild("player1")); m_player2 = (UI_Component11)UI_Component11.Create(comp.GetChild("player2")); m_timeText = (GTextField)comp.GetChild("timeText"); m_select1 = (UI_Button3)UI_Button3.Create(comp.GetChild("select1")); m_selectText1 = (GTextField)comp.GetChild("selectText1"); m_select2 = (UI_Button3)UI_Button3.Create(comp.GetChild("select2")); m_selectText2 = (GTextField)comp.GetChild("selectText2"); m_BtnBack = (GButton)comp.GetChild("BtnBack"); m_t0 = comp.GetTransition("t0"); m_t1 = comp.GetTransition("t1"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_playerShow1.Dispose(); m_playerShow1 = null; m_playerShow2.Dispose(); m_playerShow2 = null; m_ruleBtn = null; m_titleText = null; m_player1.Dispose(); m_player1 = null; m_player2.Dispose(); m_player2 = null; m_timeText = null; m_select1.Dispose(); m_select1 = null; m_selectText1 = null; m_select2.Dispose(); m_select2 = null; m_selectText2 = null; m_BtnBack = null; m_t0 = null; m_t1 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }