/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ComValueInfo { public GComponent target; public Controller m_c1; public Controller m_c2; public GTextField m_txtFightScore; public GButton m_btnFightScoreRule; public GLoader m_scoreType; public GTextField m_txtScore; public GButton m_btnTagRule; public GComponent m_comTag; public GTextField m_txtTagScore; public UI_ComFightScore m_comFightScore; public const string URL = "ui://4lc5fhlbjcej3t"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ComValueInfo"; private static UI_ComValueInfo _proxy; public static UI_ComValueInfo Create(GObject gObject = null) { var ui = new UI_ComValueInfo(); 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_ComValueInfo Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComValueInfo(); } 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_txtFightScore = (GTextField)comp.GetChild("txtFightScore"); m_btnFightScoreRule = (GButton)comp.GetChild("btnFightScoreRule"); m_scoreType = (GLoader)comp.GetChild("scoreType"); m_txtScore = (GTextField)comp.GetChild("txtScore"); m_btnTagRule = (GButton)comp.GetChild("btnTagRule"); m_comTag = (GComponent)comp.GetChild("comTag"); m_txtTagScore = (GTextField)comp.GetChild("txtTagScore"); m_comFightScore = (UI_ComFightScore)UI_ComFightScore.Create(comp.GetChild("comFightScore")); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_txtFightScore = null; m_btnFightScoreRule = null; m_scoreType = null; m_txtScore = null; m_btnTagRule = null; m_comTag = null; m_txtTagScore = null; m_comFightScore.Dispose(); m_comFightScore = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }