/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.RoleInfo { public partial class UI_MainBgChooseUI { public GComponent target; public GLoader m_loaBg; public GGraph m_mask; public GButton m_btnBack; public GImage m_frame; public GComponent m_mainUIShow; public GList m_bgList; public UI_Button19 m_btnChange; public UI_ButtonToggle2 m_btnSaveDressUpBg; public GButton m_btnGoShop; public GGraph m_heightAdaptHelper; public GButton m_btnRule; public Transition m_openViewAction; public const string URL = "ui://374k3dwvc4t79fvz"; public const string PACKAGE_NAME = "RoleInfo"; public const string RES_NAME = "MainBgChooseUI"; private static UI_MainBgChooseUI _proxy; public static UI_MainBgChooseUI Create(GObject gObject = null) { var ui = new UI_MainBgChooseUI(); 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_MainBgChooseUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MainBgChooseUI(); } 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_mask = (GGraph)comp.GetChild("mask"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_frame = (GImage)comp.GetChild("frame"); m_mainUIShow = (GComponent)comp.GetChild("mainUIShow"); m_bgList = (GList)comp.GetChild("bgList"); m_btnChange = (UI_Button19)UI_Button19.Create(comp.GetChild("btnChange")); m_btnSaveDressUpBg = (UI_ButtonToggle2)UI_ButtonToggle2.Create(comp.GetChild("btnSaveDressUpBg")); m_btnGoShop = (GButton)comp.GetChild("btnGoShop"); m_heightAdaptHelper = (GGraph)comp.GetChild("heightAdaptHelper"); m_btnRule = (GButton)comp.GetChild("btnRule"); m_openViewAction = comp.GetTransition("openViewAction"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_mask = null; m_btnBack = null; m_frame = null; m_mainUIShow = null; m_bgList = null; m_btnChange.Dispose(); m_btnChange = null; m_btnSaveDressUpBg.Dispose(); m_btnSaveDressUpBg = null; m_btnGoShop = null; m_heightAdaptHelper = null; m_btnRule = null; m_openViewAction = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }