/** 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 GTextField m_txtTitle; public GTextField m_txtProgress; public GGraph m_holder; public UI_ComSkillUp m_comSkill; public GGraph m_holderSkill; public GGraph m_holderScore; public Transition m_t0; public Transition m_t1; 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_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_txtProgress = (GTextField)comp.GetChild("txtProgress"); m_holder = (GGraph)comp.GetChild("holder"); m_comSkill = (UI_ComSkillUp)UI_ComSkillUp.Create(comp.GetChild("comSkill")); m_holderSkill = (GGraph)comp.GetChild("holderSkill"); m_holderScore = (GGraph)comp.GetChild("holderScore"); m_t0 = comp.GetTransition("t0"); m_t1 = comp.GetTransition("t1"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_comValue = null; m_btnBack = null; m_txtTitle = null; m_txtProgress = null; m_holder = null; m_comSkill.Dispose(); m_comSkill = null; m_holderSkill = null; m_holderScore = null; m_t0 = null; m_t1 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }