/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_ChangeNameUI { public GComponent target; public GImage m_bg; public GGraph m_holderLeftTop; public GGraph m_holderRightDowm; public GTextInput m_inputName; public GButton m_btnSure; public GTextField m_txtNeed; public GLoader m_loaIcon; public GButton m_btnRandom; public GButton m_btnClose; public const string URL = "ui://374k3dwvnjmnfz"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "ChangeNameUI"; private static UI_ChangeNameUI _proxy; public static UI_ChangeNameUI Create(GObject gObject = null) { var ui = new UI_ChangeNameUI(); 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_ChangeNameUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ChangeNameUI(); } 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_bg = (GImage)comp.GetChild("bg"); m_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop"); m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm"); m_inputName = (GTextInput)comp.GetChild("inputName"); m_btnSure = (GButton)comp.GetChild("btnSure"); m_txtNeed = (GTextField)comp.GetChild("txtNeed"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_btnRandom = (GButton)comp.GetChild("btnRandom"); m_btnClose = (GButton)comp.GetChild("btnClose"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_holderLeftTop = null; m_holderRightDowm = null; m_inputName = null; m_btnSure = null; m_txtNeed = null; m_loaIcon = null; m_btnRandom = null; m_btnClose = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }