/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_RoleInfoUI { public GComponent target; public Controller m_type; public GLoader m_loaBg; public GLoader m_Top_img; public GTextField m_txtVersion; public GButton m_btnHelp; public GButton m_btnBack; public GTextField m_leagueName; public GComponent m_comHead; public GTextField m_txtExp; public GTextField m_txtLvl; public GTextField m_txtRoleName; public GLoader m_loaChangeName; public GTextInput m_txtSlogan; public GTextField m_txtSloganLabel; public GGroup m_grpHead; public UI_ButtonCollectProgress m_btnSuitGuide; public UI_ButtonCollectProgress m_btnCardGuide; public UI_ButtonCollectProgress m_btnTaskArchieveGuide; public GList m_badgeList; public GGroup m_center; public GList m_photoList; public GButton m_btnSkill; public GTextField m_txtRoleID; public GButton m_btnCopy; public GButton m_btnSetting; public Transition m_Hide; public Transition m_Show; public const string URL = "ui://374k3dwvd4iw6k"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "RoleInfoUI"; private static UI_RoleInfoUI _proxy; public static UI_RoleInfoUI Create(GObject gObject = null) { var ui = new UI_RoleInfoUI(); 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 Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_RoleInfoUI(); } 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_type = comp.GetController("type"); m_loaBg = (GLoader)comp.GetChild("loaBg"); m_Top_img = (GLoader)comp.GetChild("Top_img"); m_txtVersion = (GTextField)comp.GetChild("txtVersion"); m_btnHelp = (GButton)comp.GetChild("btnHelp"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_leagueName = (GTextField)comp.GetChild("leagueName"); m_comHead = (GComponent)comp.GetChild("comHead"); m_txtExp = (GTextField)comp.GetChild("txtExp"); m_txtLvl = (GTextField)comp.GetChild("txtLvl"); m_txtRoleName = (GTextField)comp.GetChild("txtRoleName"); m_loaChangeName = (GLoader)comp.GetChild("loaChangeName"); m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan"); m_txtSloganLabel = (GTextField)comp.GetChild("txtSloganLabel"); m_grpHead = (GGroup)comp.GetChild("grpHead"); m_btnSuitGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnSuitGuide")); m_btnCardGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnCardGuide")); m_btnTaskArchieveGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnTaskArchieveGuide")); m_badgeList = (GList)comp.GetChild("badgeList"); m_center = (GGroup)comp.GetChild("center"); m_photoList = (GList)comp.GetChild("photoList"); m_btnSkill = (GButton)comp.GetChild("btnSkill"); m_txtRoleID = (GTextField)comp.GetChild("txtRoleID"); m_btnCopy = (GButton)comp.GetChild("btnCopy"); m_btnSetting = (GButton)comp.GetChild("btnSetting"); m_Hide = comp.GetTransition("Hide"); m_Show = comp.GetTransition("Show"); } public void Dispose(bool disposeTarget = false) { m_type = null; m_loaBg = null; m_Top_img = null; m_txtVersion = null; m_btnHelp = null; m_btnBack = null; m_leagueName = null; m_comHead = null; m_txtExp = null; m_txtLvl = null; m_txtRoleName = null; m_loaChangeName = null; m_txtSlogan = null; m_txtSloganLabel = null; m_grpHead = null; m_btnSuitGuide.Dispose(); m_btnSuitGuide = null; m_btnCardGuide.Dispose(); m_btnCardGuide = null; m_btnTaskArchieveGuide.Dispose(); m_btnTaskArchieveGuide = null; m_badgeList = null; m_center = null; m_photoList = null; m_btnSkill = null; m_txtRoleID = null; m_btnCopy = null; m_btnSetting = null; m_Hide = null; m_Show = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }