/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_LeagueSkillUpUI { public GComponent target; public GLoader m_loaBg; public GComponent m_comValue; public GButton m_btnBack; public GList m_listScore; public GList m_list; public GTextField m_txtTitle; public GTextField m_txtProgress; public GButton m_btnLeft; public GButton m_btnRight; public const string URL = "ui://tw70qm9dpvb45c"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "LeagueSkillUpUI"; private static UI_LeagueSkillUpUI _proxy; public static UI_LeagueSkillUpUI Create(GObject gObject = null) { var ui = new UI_LeagueSkillUpUI(); 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_LeagueSkillUpUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LeagueSkillUpUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_comValue = (GComponent)comp.GetChild("comValue"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_listScore = (GList)comp.GetChild("listScore"); m_list = (GList)comp.GetChild("list"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_txtProgress = (GTextField)comp.GetChild("txtProgress"); m_btnLeft = (GButton)comp.GetChild("btnLeft"); m_btnRight = (GButton)comp.GetChild("btnRight"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_comValue = null; m_btnBack = null; m_listScore = null; m_list = null; m_txtTitle = null; m_txtProgress = null; m_btnLeft = null; m_btnRight = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }