/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_RoleInfoUI_old { public GComponent target; public GLoader m_loaBg; public GTextField m_txtVersion; public GButton m_btnHelp; public GButton m_btnBack; public GComponent m_comHead; public GTextField m_txtLvl; public GTextField m_txtExp; public GTextField m_txtRoleName; public GLoader m_loaChangeName; public GTextInput m_txtSlogan; public GGroup m_grpHead; public UI_Button2 m_btnFieldGuide; public GList m_list; public GButton m_btnSkill; public GButton m_btnSetting; public const string URL = "ui://374k3dwvp4yn9fw1"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "RoleInfoUI_old"; private static UI_RoleInfoUI_old _proxy; public static UI_RoleInfoUI_old Create(GObject gObject = null) { var ui = new UI_RoleInfoUI_old(); 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_RoleInfoUI_old Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_RoleInfoUI_old(); } 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_txtVersion = (GTextField)comp.GetChild("txtVersion"); m_btnHelp = (GButton)comp.GetChild("btnHelp"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_comHead = (GComponent)comp.GetChild("comHead"); m_txtLvl = (GTextField)comp.GetChild("txtLvl"); m_txtExp = (GTextField)comp.GetChild("txtExp"); m_txtRoleName = (GTextField)comp.GetChild("txtRoleName"); m_loaChangeName = (GLoader)comp.GetChild("loaChangeName"); m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan"); m_grpHead = (GGroup)comp.GetChild("grpHead"); m_btnFieldGuide = (UI_Button2)UI_Button2.Create(comp.GetChild("btnFieldGuide")); m_list = (GList)comp.GetChild("list"); m_btnSkill = (GButton)comp.GetChild("btnSkill"); m_btnSetting = (GButton)comp.GetChild("btnSetting"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_txtVersion = null; m_btnHelp = null; m_btnBack = null; m_comHead = null; m_txtLvl = null; m_txtExp = null; m_txtRoleName = null; m_loaChangeName = null; m_txtSlogan = null; m_grpHead = null; m_btnFieldGuide.Dispose(); m_btnFieldGuide = null; m_list = null; m_btnSkill = null; m_btnSetting = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }