/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ArenaUI { public GComponent target; public Controller m_c1; public Controller m_c2; public GButton m_btnBack; public GComponent m_valueBar; public UI_ComTheme m_comTheme; public GButton m_btnRank; public GTextField m_txtTime; public GButton m_btnRule; public GGroup m_gtpTop; public GButton m_btnReSelect; public GButton m_btnFight; public GList m_listTarget; public GGraph m_grhCloseComFightScore; public GLoader m_loaDanIcon; public GTextField m_txtName; public GTextField m_txtDanTitle; public GButton m_btnFightScoreRule; public GTextField m_txtRank; public GTextField m_txtFightScore; public GLoader m_rankIcon; public GTextField m_txtMoneyCount; public GButton m_btnAddFightCount; public GTextField m_txtFightCount; public GTextField m_txtRefreshCount; public GButton m_btnRefresh; public UI_ComCostCurrency m_comCostCurrent; public UI_ComFightScore m_comFightScore; public GButton m_btnQuickFight; public GButton m_btnShop; public GButton m_btnReward; public GButton m_btnRecord; public GButton m_btnDress; public GGroup m_grpBottom; public const string URL = "ui://4lc5fhlbpsph0"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ArenaUI"; private static UI_ArenaUI _proxy; public static UI_ArenaUI Create(GObject gObject = null) { var ui = new UI_ArenaUI(); 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_ArenaUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ArenaUI(); } 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_btnBack = (GButton)comp.GetChild("btnBack"); m_valueBar = (GComponent)comp.GetChild("valueBar"); m_comTheme = (UI_ComTheme)UI_ComTheme.Create(comp.GetChild("comTheme")); m_btnRank = (GButton)comp.GetChild("btnRank"); m_txtTime = (GTextField)comp.GetChild("txtTime"); m_btnRule = (GButton)comp.GetChild("btnRule"); m_gtpTop = (GGroup)comp.GetChild("gtpTop"); m_btnReSelect = (GButton)comp.GetChild("btnReSelect"); m_btnFight = (GButton)comp.GetChild("btnFight"); m_listTarget = (GList)comp.GetChild("listTarget"); m_grhCloseComFightScore = (GGraph)comp.GetChild("grhCloseComFightScore"); m_loaDanIcon = (GLoader)comp.GetChild("loaDanIcon"); m_txtName = (GTextField)comp.GetChild("txtName"); m_txtDanTitle = (GTextField)comp.GetChild("txtDanTitle"); m_btnFightScoreRule = (GButton)comp.GetChild("btnFightScoreRule"); m_txtRank = (GTextField)comp.GetChild("txtRank"); m_txtFightScore = (GTextField)comp.GetChild("txtFightScore"); m_rankIcon = (GLoader)comp.GetChild("rankIcon"); m_txtMoneyCount = (GTextField)comp.GetChild("txtMoneyCount"); m_btnAddFightCount = (GButton)comp.GetChild("btnAddFightCount"); m_txtFightCount = (GTextField)comp.GetChild("txtFightCount"); m_txtRefreshCount = (GTextField)comp.GetChild("txtRefreshCount"); m_btnRefresh = (GButton)comp.GetChild("btnRefresh"); m_comCostCurrent = (UI_ComCostCurrency)UI_ComCostCurrency.Create(comp.GetChild("comCostCurrent")); m_comFightScore = (UI_ComFightScore)UI_ComFightScore.Create(comp.GetChild("comFightScore")); m_btnQuickFight = (GButton)comp.GetChild("btnQuickFight"); m_btnShop = (GButton)comp.GetChild("btnShop"); m_btnReward = (GButton)comp.GetChild("btnReward"); m_btnRecord = (GButton)comp.GetChild("btnRecord"); m_btnDress = (GButton)comp.GetChild("btnDress"); m_grpBottom = (GGroup)comp.GetChild("grpBottom"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_btnBack = null; m_valueBar = null; m_comTheme.Dispose(); m_comTheme = null; m_btnRank = null; m_txtTime = null; m_btnRule = null; m_gtpTop = null; m_btnReSelect = null; m_btnFight = null; m_listTarget = null; m_grhCloseComFightScore = null; m_loaDanIcon = null; m_txtName = null; m_txtDanTitle = null; m_btnFightScoreRule = null; m_txtRank = null; m_txtFightScore = null; m_rankIcon = null; m_txtMoneyCount = null; m_btnAddFightCount = null; m_txtFightCount = null; m_txtRefreshCount = null; m_btnRefresh = null; m_comCostCurrent.Dispose(); m_comCostCurrent = null; m_comFightScore.Dispose(); m_comFightScore = null; m_btnQuickFight = null; m_btnShop = null; m_btnReward = null; m_btnRecord = null; m_btnDress = null; m_grpBottom = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }