/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_OtherRoleInfoUI { public GComponent target; public GLoader m_loaBg; public GButton m_btnBack; public GComponent m_comHead; public GTextField m_txtLvl; public GTextField m_txtRoleName; public GTextField m_txtSlogan; public GGroup m_grpHead; public UI_Button2 m_btnFieldGuide; public GList m_list; public const string URL = "ui://374k3dwvv95qg2"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "OtherRoleInfoUI"; private static UI_OtherRoleInfoUI _proxy; public static UI_OtherRoleInfoUI Create(GObject gObject = null) { var ui = new UI_OtherRoleInfoUI(); 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_OtherRoleInfoUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_OtherRoleInfoUI(); } 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_btnBack = (GButton)comp.GetChild("btnBack"); m_comHead = (GComponent)comp.GetChild("comHead"); m_txtLvl = (GTextField)comp.GetChild("txtLvl"); m_txtRoleName = (GTextField)comp.GetChild("txtRoleName"); m_txtSlogan = (GTextField)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"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_comHead = null; m_txtLvl = null; m_txtRoleName = null; m_txtSlogan = null; m_grpHead = null; m_btnFieldGuide.Dispose(); m_btnFieldGuide = null; m_list = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }