/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_ChangeHead { public GComponent target; public Controller m_c1; public GList m_list; public GList m_listBorder; public GButton m_btnTab0; public GButton m_btnTab1; public GComponent m_comHead; public GTextField m_txtName; public GTextField m_txtDesc; public GButton m_btnSure; public const string URL = "ui://374k3dwvr9ri2"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "ChangeHead"; private static UI_ChangeHead _proxy; public static UI_ChangeHead Create(GObject gObject = null) { var ui = new UI_ChangeHead(); 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_ChangeHead Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ChangeHead(); } 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_c1 = comp.GetController("c1"); m_list = (GList)comp.GetChild("list"); m_listBorder = (GList)comp.GetChild("listBorder"); m_btnTab0 = (GButton)comp.GetChild("btnTab0"); m_btnTab1 = (GButton)comp.GetChild("btnTab1"); m_comHead = (GComponent)comp.GetChild("comHead"); m_txtName = (GTextField)comp.GetChild("txtName"); m_txtDesc = (GTextField)comp.GetChild("txtDesc"); m_btnSure = (GButton)comp.GetChild("btnSure"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_list = null; m_listBorder = null; m_btnTab0 = null; m_btnTab1 = null; m_comHead = null; m_txtName = null; m_txtDesc = null; m_btnSure = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }