/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.MatchingCompetition { public partial class UI_Component4 { public GComponent target; public Controller m_c1; public Controller m_c2; public GLoader m_numBg; public GLoader m_num1; public GLoader m_num2; public GLoader m_num3; public GTextField m_RankText; public const string URL = "ui://ri3cveycp3ft1m"; public const string PACKAGE_NAME = "MatchingCompetition"; public const string RES_NAME = "Component4"; private static UI_Component4 _proxy; public static UI_Component4 Create(GObject gObject = null) { var ui = new UI_Component4(); 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_Component4 Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_Component4(); } 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_c2 = comp.GetController("c2"); m_numBg = (GLoader)comp.GetChild("numBg"); m_num1 = (GLoader)comp.GetChild("num1"); m_num2 = (GLoader)comp.GetChild("num2"); m_num3 = (GLoader)comp.GetChild("num3"); m_RankText = (GTextField)comp.GetChild("RankText"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_numBg = null; m_num1 = null; m_num2 = null; m_num3 = null; m_RankText = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }