/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_PhoneBindingUI { public GComponent target; public GImage m_bg; public GGraph m_holderLeftTop; public GGraph m_holderRightDowm; public GTextInput m_inputName; public GTextInput m_inputPhoneNumber; public UI_Button19 m_btnSure; public GTextField m_inputConfirmCode; public GButton m_btnGetCode; public GLoader m_countTime; public GButton m_btnClose; public GLoader m_icon; public const string URL = "ui://374k3dwvr8a09fze"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "PhoneBindingUI"; private static UI_PhoneBindingUI _proxy; public static UI_PhoneBindingUI Create(GObject gObject = null) { var ui = new UI_PhoneBindingUI(); 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_PhoneBindingUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_PhoneBindingUI(); } 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_inputPhoneNumber = (GTextInput)comp.GetChild("inputPhoneNumber"); m_btnSure = (UI_Button19)UI_Button19.Create(comp.GetChild("btnSure")); m_inputConfirmCode = (GTextField)comp.GetChild("inputConfirmCode"); m_btnGetCode = (GButton)comp.GetChild("btnGetCode"); m_countTime = (GLoader)comp.GetChild("countTime"); m_btnClose = (GButton)comp.GetChild("btnClose"); m_icon = (GLoader)comp.GetChild("icon"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_holderLeftTop = null; m_holderRightDowm = null; m_inputName = null; m_inputPhoneNumber = null; m_btnSure.Dispose(); m_btnSure = null; m_inputConfirmCode = null; m_btnGetCode = null; m_countTime = null; m_btnClose = null; m_icon = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }